summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-08-26 13:16:45 (GMT)
committerBrad King <brad.king@kitware.com>2016-08-31 13:05:14 (GMT)
commit551d5aedbffc0020793c2b6b374f1fa2be3e91d8 (patch)
tree325242c420ff9254fe8c0bee688ced94ca4beabb /Utilities
parentf4f8074bec408ba0cab0f08ce1c48ad312fc0b24 (diff)
downloadCMake-551d5aedbffc0020793c2b6b374f1fa2be3e91d8.zip
CMake-551d5aedbffc0020793c2b6b374f1fa2be3e91d8.tar.gz
CMake-551d5aedbffc0020793c2b6b374f1fa2be3e91d8.tar.bz2
libuv: Fix unused variable warning in uv_loop_close
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmlibuv/src/uv-common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Utilities/cmlibuv/src/uv-common.c b/Utilities/cmlibuv/src/uv-common.c
index 434a502..46d9546 100644
--- a/Utilities/cmlibuv/src/uv-common.c
+++ b/Utilities/cmlibuv/src/uv-common.c
@@ -613,7 +613,9 @@ uv_loop_t* uv_loop_new(void) {
int uv_loop_close(uv_loop_t* loop) {
QUEUE* q;
uv_handle_t* h;
+#ifndef NDEBUG
void* saved_data;
+#endif
if (!QUEUE_EMPTY(&(loop)->active_reqs))
return UV_EBUSY;