mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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: https://github.com/nodejs/node/pull/33417 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
9883ba6ddd
commit
e668376b5b
1 file changed
+1
-2
@@ -39,8 +39,7 @@ NodeMainInstance::NodeMainInstance(Isolate* isolate,
|
||||
isolate_data_ =
|
||||
std::make_unique<IsolateData>(isolate_, event_loop, platform, nullptr);
|
||||
|
||||
IsolateSettings misc;
|
||||
SetIsolateMiscHandlers(isolate_, misc);
|
||||
SetIsolateMiscHandlers(isolate_, {});
|
||||
}
|
||||
|
||||
std::unique_ptr<NodeMainInstance> NodeMainInstance::Create(
|
||||
|
||||
Reference in new issue
Block a user