Skip to content

Commit

Permalink
test: remove unused variable in addon test
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
joyeecheung authored Oct 2, 2022
1 parent 0ee6643 commit a16f81e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/addons/report-api/binding.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ void TriggerReportEnv(const FunctionCallbackInfo<Value>& args) {
}

void TriggerReportNoEnv(const FunctionCallbackInfo<Value>& args) {
Isolate* isolate = args.GetIsolate();

node::TriggerNodeReport(static_cast<node::Environment*>(nullptr),
"FooMessage",
"BarTrigger",
Expand Down

0 comments on commit a16f81e

Please sign in to comment.