libuv: Fix unused variable warning in uv_loop_close

This commit is contained in:
Brad King 2016-08-26 09:16:45 -04:00
parent f4f8074bec
commit 551d5aedbf
1 changed files with 2 additions and 0 deletions

View File

@ -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;