Skip to content

Commit 30cc6c3

Browse files
codebyteremarco-ippolito
authored andcommitted
src: fix -Wunreachable-code-return in node_sea
PR-URL: #57664 Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 02373ba commit 30cc6c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/node_sea.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,8 +637,9 @@ bool MaybeLoadSingleExecutableApplication(Environment* env) {
637637

638638
LoadEnvironment(env, LoadSingleExecutableApplication);
639639
return true;
640-
#endif
640+
#else
641641
return false;
642+
#endif
642643
}
643644

644645
void Initialize(Local<Object> target,

0 commit comments

Comments
 (0)