From 15091ccca207695a233882c9a44f504cd45cfd71 Mon Sep 17 00:00:00 2001 From: Brian White Date: Mon, 15 Feb 2016 04:45:20 -0500 Subject: [PATCH] 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 Reviewed-By: James M Snell --- src/env-inl.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/env-inl.h b/src/env-inl.h index d5740f5fcea84b..05636e7d76a654 100644 --- a/src/env-inl.h +++ b/src/env-inl.h @@ -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() {