diff options
Diffstat (limited to 'win/tclWinConsole.c')
-rw-r--r-- | win/tclWinConsole.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/win/tclWinConsole.c b/win/tclWinConsole.c index 9000da2..f0dd62c 100644 --- a/win/tclWinConsole.c +++ b/win/tclWinConsole.c @@ -1113,7 +1113,7 @@ ConsoleReaderThread(LPVOID arg) { ConsoleInfo *infoPtr = (ConsoleInfo *)arg; HANDLE *handle = infoPtr->handle; - DWORD count, waitResult; + DWORD waitResult; HANDLE wEvents[2]; /* The first event takes precedence. */ @@ -1136,8 +1136,6 @@ ConsoleReaderThread(LPVOID arg) break; } - count = 0; - /* * Look for data on the console, but first ignore any events * that are not KEY_EVENTs |