From 5c0cd85a638ae8a876faf4fdb5d2cb8749360d77 Mon Sep 17 00:00:00 2001 From: Santiago Gimeno Date: Thu, 8 Dec 2022 01:00:45 +0100 Subject: [PATCH] test: fix -Wunused-variable on report-fatalerror MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/45747 Reviewed-By: Michaƫl Zasso Reviewed-By: Colin Ihrig Reviewed-By: Richard Lau Reviewed-By: Luigi Pinca Reviewed-By: Daeyeon Jeong Reviewed-By: Darshan Sen Reviewed-By: Yagiz Nizipli --- test/addons/report-fatalerror/binding.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/addons/report-fatalerror/binding.cc b/test/addons/report-fatalerror/binding.cc index 9f01230bb43a54..7c6fab4c6b1efc 100644 --- a/test/addons/report-fatalerror/binding.cc +++ b/test/addons/report-fatalerror/binding.cc @@ -2,15 +2,12 @@ #include using v8::FunctionCallbackInfo; -using v8::Isolate; using v8::Local; using v8::MaybeLocal; using v8::Object; using v8::Value; void TriggerFatalError(const FunctionCallbackInfo& args) { - Isolate* isolate = args.GetIsolate(); - // Trigger a v8 ApiCheck failure. MaybeLocal value; value.ToLocalChecked();