diff --git a/src/win/cares.c b/src/win/cares.c index 1592d1234..d86cb325f 100644 --- a/src/win/cares.c +++ b/src/win/cares.c @@ -108,8 +108,6 @@ static void uv_ares_sockstate_cb(void *data, ares_socket_t sock, int read, uv_loop_t* loop = (uv_loop_t*) data; uv_ares_task_t* uv_handle_ares = uv_find_ares_handle(loop, sock); - int timeoutms = 0; - if (read == 0 && write == 0) { /* if read and write are 0, cleanup existing data */ /* The code assumes that c-ares does a callback with read = 0 and */ diff --git a/src/win/timer.c b/src/win/timer.c index 555d71ea6..dc2034b6b 100644 --- a/src/win/timer.c +++ b/src/win/timer.c @@ -31,7 +31,6 @@ /* The resolution of the high-resolution clock. */ -static int64_t uv_ticks_per_msec_ = 0; static uint64_t uv_hrtime_frequency_ = 0; static uv_once_t uv_hrtime_init_guard_ = UV_ONCE_INIT; diff --git a/src/win/tty.c b/src/win/tty.c index 5bf90bec2..6f6aac874 100644 --- a/src/win/tty.c +++ b/src/win/tty.c @@ -960,9 +960,6 @@ static int uv_tty_reset(uv_tty_t* handle, DWORD* error) { static int uv_tty_clear(uv_tty_t* handle, int dir, char entire_screen, DWORD* error) { - unsigned short argc = handle->ansi_csi_argc; - unsigned short* argv = handle->ansi_csi_argv; - CONSOLE_SCREEN_BUFFER_INFO info; COORD start, end; DWORD count, written;