diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-08-15 11:07:46 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-08-15 11:07:46 (GMT) |
commit | a1060b48b8483e5985842573cf1dd8a82a36af34 (patch) | |
tree | 06c8f4cccd36e0b288f5a6f6334af32307f44b5e /win/tclWinSock.c | |
parent | e84de0f8429f773ec475c011d9e3a6eff4b2e377 (diff) | |
download | tcl-a1060b48b8483e5985842573cf1dd8a82a36af34.zip tcl-a1060b48b8483e5985842573cf1dd8a82a36af34.tar.gz tcl-a1060b48b8483e5985842573cf1dd8a82a36af34.tar.bz2 |
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r-- | win/tclWinSock.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c index 73820ea..f3fe979 100644 --- a/win/tclWinSock.c +++ b/win/tclWinSock.c @@ -1008,7 +1008,6 @@ TcpCloseProc(instanceData, interp) SocketInfo *infoPtr = (SocketInfo *) instanceData; /* TIP #218 */ int errorCode = 0; - ThreadSpecificData *tsdPtr = TCL_TSD_INIT(&dataKey); /* * Check that WinSock is initialized; do not call it if not, to @@ -1988,9 +1987,9 @@ TcpSetOptionProc ( CONST char *optionName, /* Name of the option to set. */ CONST char *value) /* New value for option. */ { +/* SocketInfo *infoPtr; SOCKET sock; -/* BOOL val = FALSE; int boolVar, rtn; */ @@ -2008,10 +2007,10 @@ TcpSetOptionProc ( return TCL_ERROR; } +/* infoPtr = (SocketInfo *) instanceData; sock = infoPtr->socket; -/* if (!stricmp(optionName, "-keepalive")) { if (Tcl_GetBoolean(interp, value, &boolVar) != TCL_OK) { return TCL_ERROR; |