Skip to content

Commit 308be6c

Browse files
danbevtargos
authored andcommitted
src: remove unused misc variable
This commit removes the unused 'misc' variable from one of the NodeMainInstance constructors. Another option could be to add a default argument to SetIsolateMiscHandlers but I'd like to hear what others think about that first. PR-URL: #33417 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 7fd0519 commit 308be6c

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
@@ -39,8 +39,7 @@ NodeMainInstance::NodeMainInstance(Isolate* isolate,
3939
isolate_data_ =
4040
std::make_unique<IsolateData>(isolate_, event_loop, platform, nullptr);
4141

42-
IsolateSettings misc;
43-
SetIsolateMiscHandlers(isolate_, misc);
42+
SetIsolateMiscHandlers(isolate_, {});
4443
}
4544

4645
std::unique_ptr<NodeMainInstance> NodeMainInstance::Create(

0 commit comments

Comments
 (0)