mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
test: remove unused variable in addon test
This fixes the compiler warning for the unused variable in the report-api addon test. PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
c54cee1c3f
commit
8dacedaa3d
1 file changed
-2
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user