Skip to content

Commit b72dbdb

Browse files
mscdexjasnell
authored andcommitted
src: remove unnecessary check
The value's type is unsigned so it will always be >= 0. PR-URL: #5233 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent a1dace1 commit b72dbdb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/env-inl.h

-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ inline Environment::AsyncCallbackScope::AsyncCallbackScope(Environment* env)
108108

109109
inline Environment::AsyncCallbackScope::~AsyncCallbackScope() {
110110
env_->makecallback_cntr_--;
111-
CHECK_GE(env_->makecallback_cntr_, 0);
112111
}
113112

114113
inline bool Environment::AsyncCallbackScope::in_makecallback() {

0 commit comments

Comments
 (0)