Skip to content

Commit

Permalink
src: remove unnecessary check
Browse files Browse the repository at this point in the history
The value's type is unsigned so it will always be >= 0.

PR-URL: nodejs#5233
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
mscdex authored and stefanmb committed Feb 23, 2016
1 parent 4d1abfd commit 8990362
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/env-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 8990362

Please sign in to comment.