Skip to content

Commit

Permalink
src: remove unused variables
Browse files Browse the repository at this point in the history
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 committed Oct 28, 2018
1 parent b0089a5 commit 1b47354
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/node_trace_events.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit 1b47354

Please sign in to comment.