libuv: Fix unused variable warning in uv_loop_close
This commit is contained in:
parent
f4f8074bec
commit
551d5aedbf
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue