Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: fix -Wunused-variable on report-fatalerror
  • Loading branch information
santigimeno committed Dec 5, 2022
commit bac610aa34577a09deafec4588b2158e1e5a1c16
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