mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
test: fix -Wunused-variable on report-fatalerror
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
6e35803789
commit
c1162535ae
1 file changed
-3
@@ -2,15 +2,12 @@
|
||||
#include <v8.h>
|
||||
|
||||
using v8::FunctionCallbackInfo;
|
||||
using v8::Isolate;
|
||||
using v8::Local;
|
||||
using v8::MaybeLocal;
|
||||
using v8::Object;
|
||||
using v8::Value;
|
||||
|
||||
void TriggerFatalError(const FunctionCallbackInfo<Value>& args) {
|
||||
Isolate* isolate = args.GetIsolate();
|
||||
|
||||
// Trigger a v8 ApiCheck failure.
|
||||
MaybeLocal<Value> value;
|
||||
value.ToLocalChecked();
|
||||
|
||||
Reference in new issue
Block a user