★ wanayoo — archive 1999 https://github.com/nodejs/node/commit/c2fde2124fNouvelle recherche | Portail wanayoo
Skip to content
Permalink
Browse files

src: remove unused variables

These have been overlooked in 036fbdb.

PR-URL: #23880
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Eugene Ostroukhov <eostroukhov@google.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Matheus Marchini <mat@mmarchini.me>
  • Loading branch information...
addaleax authored and rvagg committed Oct 25, 2018
1 parent dba003c commit c2fde2124fe3e1bcdad5d933050e299605d194fb
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/node_trace_events.cc
@@ -62,7 +62,6 @@ void NodeCategorySet::New(const FunctionCallbackInfo<Value>& args) {
}

void NodeCategorySet::Enable(const FunctionCallbackInfo<Value>& args) {
Environment* env = Environment::GetCurrent(args);
NodeCategorySet* category_set;
ASSIGN_OR_RETURN_UNWRAP(&category_set, args.Holder());
CHECK_NOT_NULL(category_set);
@@ -74,7 +73,6 @@ void NodeCategorySet::Enable(const FunctionCallbackInfo<Value>& args) {
}

void NodeCategorySet::Disable(const FunctionCallbackInfo<Value>& args) {
Environment* env = Environment::GetCurrent(args);
NodeCategorySet* category_set;
ASSIGN_OR_RETURN_UNWRAP(&category_set, args.Holder());
CHECK_NOT_NULL(category_set);

0 comments on commit c2fde21

Please sign in to comment.
You can’t perform that action at this time.