From 8dacedaa3de99daf6b481413027cb0556c282fb5 Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Sun, 2 Oct 2022 21:10:46 +0800 Subject: [PATCH] test: remove unused variable in addon test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-By: Luigi Pinca Reviewed-By: Tobias Nießen Reviewed-By: Colin Ihrig Reviewed-By: Daeyeon Jeong Reviewed-By: Rich Trott Reviewed-By: James M Snell --- 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",