mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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:
1 parent
35d89d4662
commit
15091ccca2
1 file changed
-1
@@ -95,7 +95,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() {
|
||||
|
||||
Reference in new issue
Block a user