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 codebytere committed Jun 9, 2020
1 parent e668376 commit 548db2e
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 @@ -198,8 +198,7 @@ std::unique_ptr<Environment> NodeMainInstance::CreateMainEnvironment(
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 548db2e

Please sign in to comment.