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 <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
danbev authored and codebytere committed May 21, 2020
1 parent 3af81a8 commit 2779e1e
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 2779e1e

Please sign in to comment.