summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2009-04-10 21:40:55 (GMT)
committerdgp <dgp@noemail.net>2009-04-10 21:40:55 (GMT)
commitc3bc5294c9cb1a9a0f0f86178ac29fedb175e759 (patch)
tree1a62ef69d2b9d25213e317186303423ebfbeee02 /unix
parent88a097da8344b097aa9ca67476149422d24eb6a9 (diff)
downloadtcl-c3bc5294c9cb1a9a0f0f86178ac29fedb175e759.zip
tcl-c3bc5294c9cb1a9a0f0f86178ac29fedb175e759.tar.gz
tcl-c3bc5294c9cb1a9a0f0f86178ac29fedb175e759.tar.bz2
Remove unused variable (compiler warning)
FossilOrigin-Name: 199cda2257754f020eba51e200cf1966215ab486
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixChan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c
index 47cba16..29da9e4 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.99 2009/04/10 20:46:01 das Exp $
+ * RCS: @(#) $Id: tclUnixChan.c,v 1.100 2009/04/10 21:40:55 dgp Exp $
*/
#include "tclInt.h" /* Internal definitions for Tcl. */
@@ -3051,7 +3051,7 @@ TclUnixWaitForFile(
{
Tcl_Time abortTime = {0, 0}, now; /* silence gcc 4 warning */
struct timeval blockTime, *timeoutPtr;
- int index, numFound, result = 0;
+ int numFound, result = 0;
fd_set readableMask;
fd_set writableMask;
fd_set exceptionalMask;