Skip to content

Commit c2fde21

Browse files
addaleaxrvagg
authored andcommitted
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>
1 parent dba003c commit c2fde21

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/node_trace_events.cc

-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ void NodeCategorySet::New(const FunctionCallbackInfo<Value>& args) {
6262
}
6363

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

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

0 commit comments

Comments
 (0)