Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
src: remove unused variables
These have been overlooked in 036fbdb.
  • Loading branch information
addaleax committed Oct 25, 2018
commit 7b0396c71dad80b887803039a320eb8c95f52405
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