src: guard exit label when inspector disabled · nodejs/node@220f67c · GitHub
Skip to content

Commit 220f67c

Browse files
danbevtargos
authored andcommitted
src: guard exit label when inspector disabled
Currently, when configured --without-inspector the following warning will be generated: ../src/node.cc:859:1: warning: unused label 'exit' [-Wunused-label] exit: This commit adds a guard to exclude the label when there is no inspector support. PR-URL: #26801 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
1 parent 54753f2 commit 220f67c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/node.cc

Lines changed: 2 additions & 0 deletions

0 commit comments

Comments
 (0)