From 603915dd0081ec2f34d612291a1aeb909f6f2b76 Mon Sep 17 00:00:00 2001 From: Shannen Saez Date: Wed, 10 Apr 2013 14:16:39 +0200 Subject: [PATCH] windows: remove double initialization in uv_tty_init --- src/win/tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win/tty.c b/src/win/tty.c index 8f7e7657..64934ffa 100644 --- a/src/win/tty.c +++ b/src/win/tty.c @@ -96,7 +96,7 @@ void uv_console_init() { int uv_tty_init(uv_loop_t* loop, uv_tty_t* tty, uv_file fd, int readable) { - HANDLE handle = INVALID_HANDLE_VALUE; + HANDLE handle; CONSOLE_SCREEN_BUFFER_INFO screen_buffer_info; handle = (HANDLE) _get_osfhandle(fd);