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 committed May 18, 2020
1 parent ebffd22 commit ef1eb8d
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 ef1eb8d

Please sign in to comment.