Skip to content

Commit 7cea165

Browse files
mscdexMyles Borins
authored and
Myles Borins
committed
src: remove unnecessary check
The value's type is unsigned so it will always be >= 0. Ref: #7048 PR-URL: #5233 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 8fbc8ff commit 7cea165

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
@@ -95,7 +95,6 @@ inline Environment::AsyncCallbackScope::AsyncCallbackScope(Environment* env)
9595

9696
inline Environment::AsyncCallbackScope::~AsyncCallbackScope() {
9797
env_->makecallback_cntr_--;
98-
CHECK_GE(env_->makecallback_cntr_, 0);
9998
}
10099

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

0 commit comments

Comments
 (0)