Skip to content

Commit

Permalink
test: fix -Wunused-variable on report-fatalerror
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
santigimeno authored and targos committed Dec 12, 2022
1 parent 677eb62 commit 4c51c5c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/addons/report-fatalerror/binding.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 4c51c5c

Please sign in to comment.