summaryrefslogtreecommitdiffstats
path: root/win/tclWinConsole.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-09 06:57:45 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-09 06:57:45 (GMT)
commitf0ac2a42dacd012d571e820af585805230045d01 (patch)
tree0704e1e7f52dd137c3ad82e8a31a4c4bd7ab77f1 /win/tclWinConsole.c
parent628d9b0a51de38c2efebc8be8eb3346e19272de5 (diff)
downloadtcl-f0ac2a42dacd012d571e820af585805230045d01.zip
tcl-f0ac2a42dacd012d571e820af585805230045d01.tar.gz
tcl-f0ac2a42dacd012d571e820af585805230045d01.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 b352bd6..ebba41a 100644
--- a/win/tclWinConsole.c
+++ b/win/tclWinConsole.c
@@ -1144,7 +1144,7 @@ ConsoleReaderThread(
{
ConsoleInfo *infoPtr = (ConsoleInfo *)arg;
HANDLE *handle = infoPtr->handle;
- DWORD count, waitResult;
+ DWORD waitResult;
HANDLE wEvents[2];
/* The first event takes precedence. */
@@ -1167,8 +1167,6 @@ ConsoleReaderThread(
break;
}
- count = 0;
-
/*
* Look for data on the console, but first ignore any events that are
* not KEY_EVENTs.