From c2fde2124fe3e1bcdad5d933050e299605d194fb Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Thu, 25 Oct 2018 20:24:27 +0200 Subject: [PATCH] src: remove unused variables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These have been overlooked in 036fbdb63d603a64bd8562ec9331dfb7a5c5075c. PR-URL: https://github.com/nodejs/node/pull/23880 Reviewed-By: Richard Lau Reviewed-By: Colin Ihrig Reviewed-By: Sam Roberts Reviewed-By: Luigi Pinca Reviewed-By: Eugene Ostroukhov Reviewed-By: James M Snell Reviewed-By: Michaƫl Zasso Reviewed-By: Matheus Marchini --- src/node_trace_events.cc | 2 -- 1 file changed, 2 deletions(-) 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);