Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2022-10-02 16:10:46 +0300
committerDanielle Adams <adamzdanielle@gmail.com>2022-10-05 13:54:19 +0300
commit8dacedaa3de99daf6b481413027cb0556c282fb5 (patch)
tree1e59338c460f1885e73df82d961267db74be12f5 /test
parentc54cee1c3f604d87ee4a7317bd14fca8575acbb1 (diff)
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>
Diffstat (limited to 'test')
-rw-r--r--test/addons/report-api/binding.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/addons/report-api/binding.cc b/test/addons/report-api/binding.cc
index 4c6a39c7797..8e8547a8303 100644
--- a/test/addons/report-api/binding.cc
+++ b/test/addons/report-api/binding.cc
@@ -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",