mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 05:26:58 +08:00
libuv: Fix unused variable warning in uv_loop_close
This commit is contained in:
@@ -613,7 +613,9 @@ uv_loop_t* uv_loop_new(void) {
|
|||||||
int uv_loop_close(uv_loop_t* loop) {
|
int uv_loop_close(uv_loop_t* loop) {
|
||||||
QUEUE* q;
|
QUEUE* q;
|
||||||
uv_handle_t* h;
|
uv_handle_t* h;
|
||||||
|
#ifndef NDEBUG
|
||||||
void* saved_data;
|
void* saved_data;
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!QUEUE_EMPTY(&(loop)->active_reqs))
|
if (!QUEUE_EMPTY(&(loop)->active_reqs))
|
||||||
return UV_EBUSY;
|
return UV_EBUSY;
|
||||||
|
Reference in New Issue
Block a user