diff --git a/src/node_trace_events.cc b/src/node_trace_events.cc index eea9fc612e578e..44cf31ff2e02d5 100644 --- a/src/node_trace_events.cc +++ b/src/node_trace_events.cc @@ -62,7 +62,6 @@ void NodeCategorySet::New(const FunctionCallbackInfo& args) { } void NodeCategorySet::Enable(const FunctionCallbackInfo& 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& args) { } void NodeCategorySet::Disable(const FunctionCallbackInfo& args) { - Environment* env = Environment::GetCurrent(args); NodeCategorySet* category_set; ASSIGN_OR_RETURN_UNWRAP(&category_set, args.Holder()); CHECK_NOT_NULL(category_set);