summaryrefslogtreecommitdiffstats
path: root/win/tclWinConsole.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-15 11:07:46 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-15 11:07:46 (GMT)
commit092dd70e63fd7c5fcc9526b06c1242322378d492 (patch)
tree06c8f4cccd36e0b288f5a6f6334af32307f44b5e /win/tclWinConsole.c
parent17c90c83d4e0dda77c45f716df7eb3e37a7171da (diff)
downloadtcl-092dd70e63fd7c5fcc9526b06c1242322378d492.zip
tcl-092dd70e63fd7c5fcc9526b06c1242322378d492.tar.gz
tcl-092dd70e63fd7c5fcc9526b06c1242322378d492.tar.bz2
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'win/tclWinConsole.c')
-rw-r--r--win/tclWinConsole.c4
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