summaryrefslogtreecommitdiff
path: root/lib/perf_hooks.js
diff options
context:
space:
mode:
authorDaniel Bevenius <daniel.bevenius@gmail.com>2019-06-13 11:03:53 +0200
committerZYSzys <zyszys98@gmail.com>2019-06-16 12:28:27 +0800
commit2b7dfbcdbe2ce32be7d3bd5ba007ad447c75ae8f (patch)
treebb8adc3539500e3d2316349699e6beb1dc4d6818 /lib/perf_hooks.js
parent7561a38ccd7cc6b543a81a62fdbd455f600f684e (diff)
downloadandroid-node-v8-2b7dfbcdbe2ce32be7d3bd5ba007ad447c75ae8f.tar.gz
android-node-v8-2b7dfbcdbe2ce32be7d3bd5ba007ad447c75ae8f.tar.bz2
android-node-v8-2b7dfbcdbe2ce32be7d3bd5ba007ad447c75ae8f.zip
src: fix compiler warning in node_worker.cc
Currently, when configuring --without-ssl the following compiler warning is generated: ../src/node_worker.cc:192:10: warning: unused variable 'inspector_started' [-Wunused-variable] bool inspector_started = false; ^ 1 warning generated. This commit adds a macro guard to the variable to avoid the warning. PR-URL: https://github.com/nodejs/node/pull/28198 Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'lib/perf_hooks.js')
0 files changed, 0 insertions, 0 deletions