summaryrefslogtreecommitdiffstats
path: root/win/tclWinConsole.c
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2011-08-09 07:15:09 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2011-08-09 07:15:09 (GMT)
commite28099940b45e61945dba656309e26ea5370a170 (patch)
tree640c1704f91c3fb52f9078fab279a42dc33085ad /win/tclWinConsole.c
parent02b225d63ffbb8b65a6ecfc8b21d3d50b6f2d103 (diff)
parentc0a613781f897bcbed1cefe8ac93cff9eedf883f (diff)
downloadtcl-e28099940b45e61945dba656309e26ea5370a170.zip
tcl-e28099940b45e61945dba656309e26ea5370a170.tar.gz
tcl-e28099940b45e61945dba656309e26ea5370a170.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 1912433..a6207fe 100644
--- a/win/tclWinConsole.c
+++ b/win/tclWinConsole.c
@@ -1140,7 +1140,7 @@ ConsoleReaderThread(
{
ConsoleInfo *infoPtr = (ConsoleInfo *)arg;
HANDLE *handle = infoPtr->handle;
- DWORD count, waitResult;
+ DWORD waitResult;
HANDLE wEvents[2];
/* The first event takes precedence. */
@@ -1163,8 +1163,6 @@ ConsoleReaderThread(
break;
}
- count = 0;
-
/*
* Look for data on the console, but first ignore any events that are
* not KEY_EVENTs.