diff options
author | Brad King <brad.king@kitware.com> | 2016-08-26 13:16:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-08-31 13:05:14 (GMT) |
commit | 551d5aedbffc0020793c2b6b374f1fa2be3e91d8 (patch) | |
tree | 325242c420ff9254fe8c0bee688ced94ca4beabb /Utilities | |
parent | f4f8074bec408ba0cab0f08ce1c48ad312fc0b24 (diff) | |
download | CMake-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.c | 2 |
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; |