summaryrefslogtreecommitdiffstats
path: root/win/tclWinSerial.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)
commit7884058a52af8573e05691c2e1e40fdfa78ab5db (patch)
tree640c1704f91c3fb52f9078fab279a42dc33085ad /win/tclWinSerial.c
parentbc61e591021b6e5b5e4a49fe1f0111b4a475cc27 (diff)
parentf0ac2a42dacd012d571e820af585805230045d01 (diff)
downloadtcl-7884058a52af8573e05691c2e1e40fdfa78ab5db.zip
tcl-7884058a52af8573e05691c2e1e40fdfa78ab5db.tar.gz
tcl-7884058a52af8573e05691c2e1e40fdfa78ab5db.tar.bz2
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'win/tclWinSerial.c')
-rw-r--r--win/tclWinSerial.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/win/tclWinSerial.c b/win/tclWinSerial.c
index 503358b..0941d4a 100644
--- a/win/tclWinSerial.c
+++ b/win/tclWinSerial.c
@@ -1433,9 +1433,7 @@ TclWinSerialReopen(
const TCHAR *name,
DWORD access)
{
- ThreadSpecificData *tsdPtr;
-
- tsdPtr = SerialInit();
+ SerialInit();
/*
* Multithreaded I/O needs the overlapped flag set otherwise