From b2df46ee995df59dd5001ce025dde47bccf9519b Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Wed, 28 Sep 2022 20:14:19 +0800 Subject: [PATCH] test: remove unused variable in addon test This fixes the compiler warning for the unused variable in the report-api addon test. --- test/addons/report-api/binding.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/addons/report-api/binding.cc b/test/addons/report-api/binding.cc index 4c6a39c7797ac6..8e8547a8303f36 100644 --- a/test/addons/report-api/binding.cc +++ b/test/addons/report-api/binding.cc @@ -35,8 +35,6 @@ void TriggerReportEnv(const FunctionCallbackInfo& args) { } void TriggerReportNoEnv(const FunctionCallbackInfo& args) { - Isolate* isolate = args.GetIsolate(); - node::TriggerNodeReport(static_cast(nullptr), "FooMessage", "BarTrigger",