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 <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Daeyeon Jeong <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
joyeecheung authored and danielleadams committed Oct 5, 2022
1 parent c54cee1 commit 8daceda
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 8daceda

Please sign in to comment.