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 danielleadams committed Jan 3, 2023
1 parent 6e35803 commit c116253
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/addons/report-fatalerror/binding.cc
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 c116253

Please sign in to comment.