summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-05-23 14:59:03 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-05-23 14:59:03 (GMT)
commita7c63b96168422c0fa7abd8e16091739acf350a5 (patch)
tree6e7bb3f062c2e63dae039c3a805d51fc9b5afa3e /win
parent165042b1e0a2ca0d5acee8dbfdbf151978998ea4 (diff)
downloadtcl-a7c63b96168422c0fa7abd8e16091739acf350a5.zip
tcl-a7c63b96168422c0fa7abd8e16091739acf350a5.tar.gz
tcl-a7c63b96168422c0fa7abd8e16091739acf350a5.tar.bz2
eliminate two unused variables.
Diffstat (limited to 'win')
-rw-r--r--win/tclWinSock.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/win/tclWinSock.c b/win/tclWinSock.c
index 28dfef0..f343f82 100644
--- a/win/tclWinSock.c
+++ b/win/tclWinSock.c
@@ -1233,7 +1233,6 @@ TcpGetOptionProc(
char host[NI_MAXHOST], port[NI_MAXSERV];
SOCKET sock;
size_t len = 0;
- int errorCode = 0;
int reverseDNS = 0;
#define SUPPRESS_RDNS_VAR "::tcl::unsupported::noReverseDNS"
@@ -1621,7 +1620,6 @@ TcpConnect(
TcpState *statePtr)
{
DWORD error;
- u_long flag = 1; /* Indicates nonblocking mode. */
/*
* We are started with async connect and the connect notification
* was not jet received