Skip to content

Commit 8daceda

Browse files
joyeecheungdanielleadams
authored andcommittedOct 5, 2022
test: remove unused variable in addon test
This fixes the compiler warning for the unused variable in the report-api addon test. PR-URL: #44809 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent c54cee1 commit 8daceda

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎test/addons/report-api/binding.cc

-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ void TriggerReportEnv(const FunctionCallbackInfo<Value>& args) {
3535
}
3636

3737
void TriggerReportNoEnv(const FunctionCallbackInfo<Value>& args) {
38-
Isolate* isolate = args.GetIsolate();
39-
4038
node::TriggerNodeReport(static_cast<node::Environment*>(nullptr),
4139
"FooMessage",
4240
"BarTrigger",

0 commit comments

Comments
 (0)
Please sign in to comment.