windows: remove double initialization in uv_tty_init

This commit is contained in:
Shannen Saez 2013-04-10 14:16:39 +02:00 committed by Bert Belder
parent 7570a35b70
commit 603915dd00

View File

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