Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2020-05-15 11:08:02 +0300
committerDaniel Bevenius <daniel.bevenius@gmail.com>2020-05-18 08:13:45 +0300
commitef1eb8d43903e7c5f671998cd3ee912a73292634 (patch)
tree17c393372432361f4c79a710ded8914b8a7aa656 /src/node_main_instance.cc
parentebffd229a10ed25bff1b1aa37a8314f0e093c689 (diff)
src: remove unused IsolateSettings variable
PR-URL: https://github.com/nodejs/node/pull/33417 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_main_instance.cc')
-rw-r--r--src/node_main_instance.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/node_main_instance.cc b/src/node_main_instance.cc
index 8ba861a32f5..e9cef5fc002 100644
--- a/src/node_main_instance.cc
+++ b/src/node_main_instance.cc
@@ -190,8 +190,7 @@ NodeMainInstance::CreateMainEnvironment(int* exit_code) {
context =
Context::FromSnapshot(isolate_, kNodeContextIndex).ToLocalChecked();
InitializeContextRuntime(context);
- IsolateSettings s;
- SetIsolateErrorHandlers(isolate_, s);
+ SetIsolateErrorHandlers(isolate_, {});
} else {
context = NewContext(isolate_);
}