diff options
author | dgp <dgp@users.sourceforge.net> | 2009-07-16 20:50:53 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2009-07-16 20:50:53 (GMT) |
commit | bb1249d2590d4364e87916e880bf2f279a6dca3f (patch) | |
tree | b5b2733030e6c8eea0ea745246839c42469ecc7c /unix | |
parent | abcedeed11c343f1e3fbe1c180e2846ba7736fde (diff) | |
download | tcl-bb1249d2590d4364e87916e880bf2f279a6dca3f.zip tcl-bb1249d2590d4364e87916e880bf2f279a6dca3f.tar.gz tcl-bb1249d2590d4364e87916e880bf2f279a6dca3f.tar.bz2 |
* generic/tclCmdIL.c: Removed unused variables.
* generic/tclCompile.c:
* generic/tclVar.c:
* unix/tclUnixChan.c:
* generic/tclScan.c: Typo in ACCEPT_NAN configuration.
* generic/tclStrToD.c: Set floating point control register on
MIPS systems so that the gradual underflow expected by Tcl is
in effect. [Bug 2819200]
Diffstat (limited to 'unix')
-rw-r--r-- | unix/tclUnixChan.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c index a915d5f..01d4005 100644 --- a/unix/tclUnixChan.c +++ b/unix/tclUnixChan.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclUnixChan.c,v 1.93.2.2 2009/04/10 20:46:21 das Exp $ + * RCS: @(#) $Id: tclUnixChan.c,v 1.93.2.3 2009/07/16 20:50:54 dgp Exp $ */ #include "tclInt.h" /* Internal definitions for Tcl. */ @@ -2279,14 +2279,13 @@ CreateSocket( * attempt to do an async connect. Otherwise * do a synchronous connect or bind. */ { - int status, sock, asyncConnect, curState, origState; + int status, sock, asyncConnect, curState; struct sockaddr_in sockaddr; /* socket address */ struct sockaddr_in mysockaddr; /* Socket address for client */ TcpState *statePtr; const char *errorMsg = NULL; sock = -1; - origState = 0; if (!CreateSocketAddress(&sockaddr, host, port, 0, &errorMsg)) { goto addressError; } |