summaryrefslogtreecommitdiffstats
path: root/generic/tkConsole.c
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2011-08-16 07:57:18 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2011-08-16 07:57:18 (GMT)
commitfb4440681afebe563603f66b8dc97cb1f831d5ea (patch)
tree4810edcd3b39814a55c1d5fb235d768f181bc42a /generic/tkConsole.c
parent6c13e0123b30e10d01720ba43a2810758566e544 (diff)
downloadtk-fb4440681afebe563603f66b8dc97cb1f831d5ea.zip
tk-fb4440681afebe563603f66b8dc97cb1f831d5ea.tar.gz
tk-fb4440681afebe563603f66b8dc97cb1f831d5ea.tar.bz2
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'generic/tkConsole.c')
-rw-r--r--generic/tkConsole.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/generic/tkConsole.c b/generic/tkConsole.c
index 175f1c5..307b9b5 100644
--- a/generic/tkConsole.c
+++ b/generic/tkConsole.c
@@ -117,25 +117,17 @@ static int ShouldUseConsoleChannel(type)
DCB dcb;
DWORD consoleParams;
DWORD fileType;
- int mode;
- char *bufMode;
HANDLE handle;
switch (type) {
case TCL_STDIN:
handleId = STD_INPUT_HANDLE;
- mode = TCL_READABLE;
- bufMode = "line";
break;
case TCL_STDOUT:
handleId = STD_OUTPUT_HANDLE;
- mode = TCL_WRITABLE;
- bufMode = "line";
break;
case TCL_STDERR:
handleId = STD_ERROR_HANDLE;
- mode = TCL_WRITABLE;
- bufMode = "none";
break;
default:
return 0;