summaryrefslogtreecommitdiffstats
path: root/win/tclWinSock.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-15 11:07:46 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-15 11:07:46 (GMT)
commit092dd70e63fd7c5fcc9526b06c1242322378d492 (patch)
tree06c8f4cccd36e0b288f5a6f6334af32307f44b5e /win/tclWinSock.c
parent17c90c83d4e0dda77c45f716df7eb3e37a7171da (diff)
downloadtcl-092dd70e63fd7c5fcc9526b06c1242322378d492.zip
tcl-092dd70e63fd7c5fcc9526b06c1242322378d492.tar.gz
tcl-092dd70e63fd7c5fcc9526b06c1242322378d492.tar.bz2
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'win/tclWinSock.c')
-rw-r--r--win/tclWinSock.c5
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;