Skip to content

Commit

Permalink
Revert "src: fix -Wunused-variable compiler warning"
Browse files Browse the repository at this point in the history
This reverts commit f938ef7.

Refs: nodejs#6382
Refs: nodejs#6204
Refs: nodejs#5834
  • Loading branch information
Fishrock123 committed Apr 26, 2016
1 parent 635fb96 commit 6b025df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/handle_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ void HandleWrap::Unref(const FunctionCallbackInfo<Value>& args) {


void HandleWrap::IsRefed(const FunctionCallbackInfo<Value>& args) {
Environment* env = Environment::GetCurrent(args);
HandleWrap* wrap = Unwrap<HandleWrap>(args.Holder());

bool refed = IsAlive(wrap) && (wrap->flags_ & kUnref) == 0;
Expand Down

0 comments on commit 6b025df

Please sign in to comment.