aboutsummaryrefslogtreecommitdiff
path: root/test/parallel/test-domain-abort-on-uncaught.js
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2015-02-26 21:34:03 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2015-03-05 20:08:30 +0100
commitb150c9839e2e522dbdaef9f6f6e2863842ca63d9 (patch)
treedc545cb77fd7aafe6e503cc7083291e5afd9680b /test/parallel/test-domain-abort-on-uncaught.js
parent726671cb0ea3c8ae298f3ff6e7e67780cb20f801 (diff)
downloadandroid-node-v8-b150c9839e2e522dbdaef9f6f6e2863842ca63d9.tar.gz
android-node-v8-b150c9839e2e522dbdaef9f6f6e2863842ca63d9.tar.bz2
android-node-v8-b150c9839e2e522dbdaef9f6f6e2863842ca63d9.zip
src: fix -Wempty-body compiler warnings
Turn counter macros into no-op instructions when counters are disabled. Evaluating to nothing makes gcc complain when the macro is used in a conditional. Fixes the following warning: ../src/tls_wrap.cc:320:5: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] NODE_COUNT_NET_BYTES_SENT(write_size_); ^ PR-URL: https://github.com/iojs/io.js/pull/974 Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
Diffstat (limited to 'test/parallel/test-domain-abort-on-uncaught.js')
0 files changed, 0 insertions, 0 deletions