From bada995129e3401619b6fc0ecbc7111f5c27bd53 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Wed, 30 May 2018 15:15:59 -0700 Subject: [PATCH] win,pipe: remove unreferenced local variable PR-URL: https://github.com/libuv/libuv/pull/1858 Reviewed-By: Colin Ihrig Reviewed-By: Bartosz Sosnowski --- src/win/pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win/pipe.c b/src/win/pipe.c index 22850931..3d54c628 100644 --- a/src/win/pipe.c +++ b/src/win/pipe.c @@ -958,7 +958,7 @@ static DWORD WINAPI uv_pipe_zero_readfile_thread_proc(void* arg) { uv_loop_t* loop = handle->loop; volatile HANDLE* thread_ptr = &handle->pipe.conn.readfile_thread_handle; CRITICAL_SECTION* lock = &handle->pipe.conn.readfile_thread_lock; - HANDLE prev, thread; + HANDLE thread; DWORD bytes; DWORD err;