Skip to content

Commit 50a3e97

Browse files
santigimenoErickWendel
authored andcommitted
test: fix -Wunused-variable on report-fatalerror
PR-URL: nodejs#45747 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
1 parent 09eebcd commit 50a3e97

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/addons/report-fatalerror/binding.cc

-3
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,12 @@
22
#include <v8.h>
33

44
using v8::FunctionCallbackInfo;
5-
using v8::Isolate;
65
using v8::Local;
76
using v8::MaybeLocal;
87
using v8::Object;
98
using v8::Value;
109

1110
void TriggerFatalError(const FunctionCallbackInfo<Value>& args) {
12-
Isolate* isolate = args.GetIsolate();
13-
1411
// Trigger a v8 ApiCheck failure.
1512
MaybeLocal<Value> value;
1613
value.ToLocalChecked();

0 commit comments

Comments
 (0)