summaryrefslogtreecommitdiffstats
path: root/win/tclWinSerial.c
diff options
context:
space:
mode:
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 3c8dc9f..24c6a67 100644
--- a/win/tclWinSerial.c
+++ b/win/tclWinSerial.c
@@ -1385,9 +1385,7 @@ TclWinSerialReopen(handle, name, access)
CONST TCHAR *name;
DWORD access;
{
- ThreadSpecificData *tsdPtr;
-
- tsdPtr = SerialInit();
+ SerialInit();
/*
* Multithreaded I/O needs the overlapped flag set