Skip to content

Commit 548db2e

Browse files
danbevcodebytere
authored andcommittedJun 9, 2020
src: remove unused IsolateSettings variable
PR-URL: #33417 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent e668376 commit 548db2e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎src/node_main_instance.cc

+1-2
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,7 @@ std::unique_ptr<Environment> NodeMainInstance::CreateMainEnvironment(
198198
context =
199199
Context::FromSnapshot(isolate_, kNodeContextIndex).ToLocalChecked();
200200
InitializeContextRuntime(context);
201-
IsolateSettings s;
202-
SetIsolateErrorHandlers(isolate_, s);
201+
SetIsolateErrorHandlers(isolate_, {});
203202
} else {
204203
context = NewContext(isolate_);
205204
}

0 commit comments

Comments
 (0)
Please sign in to comment.