mirror of https://github.com/nodejs/node.git
src: remove unnecessary check
The value's type is unsigned so it will always be >= 0. PR-URL: https://github.com/nodejs/node/pull/5233 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
a1dace166a
commit
b72dbdbe43
|
@ -108,7 +108,6 @@ inline Environment::AsyncCallbackScope::AsyncCallbackScope(Environment* env)
|
|||
|
||||
inline Environment::AsyncCallbackScope::~AsyncCallbackScope() {
|
||||
env_->makecallback_cntr_--;
|
||||
CHECK_GE(env_->makecallback_cntr_, 0);
|
||||
}
|
||||
|
||||
inline bool Environment::AsyncCallbackScope::in_makecallback() {
|
||||
|
|
Loading…
Reference in New Issue