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:
Brian White 2016-02-15 04:45:20 -05:00 committed by James M Snell
parent a1dace166a
commit b72dbdbe43
1 changed files with 0 additions and 1 deletions

View File

@ -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() {