summaryrefslogtreecommitdiffstats
path: root/win/tclWinConsole.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-09 07:15:09 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-09 07:15:09 (GMT)
commit84cfd81104a0debddc62d86ec377598d3f699766 (patch)
tree640c1704f91c3fb52f9078fab279a42dc33085ad /win/tclWinConsole.c
parentcbc27b8ec40a94a6a090e0d99c887878d8405cd0 (diff)
parent43d395f7b264caef65c2d725f80613f53ff3fd7d (diff)
downloadtcl-84cfd81104a0debddc62d86ec377598d3f699766.zip
tcl-84cfd81104a0debddc62d86ec377598d3f699766.tar.gz
tcl-84cfd81104a0debddc62d86ec377598d3f699766.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.