Skip to content

Commit

Permalink
src: remove unused IsolateSettings variable
Browse files Browse the repository at this point in the history
PR-URL: #33417
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
danbev authored and targos committed Jun 2, 2020
1 parent 308be6c commit f24292e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/node_main_instance.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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_);
}
Expand Down

0 comments on commit f24292e

Please sign in to comment.