summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixChan.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2009-04-10 21:40:55 (GMT)
committerdgp <dgp@users.sourceforge.net>2009-04-10 21:40:55 (GMT)
commitbd47c76800ec6de95366210adcfdd88bbf238bc3 (patch)
tree1a62ef69d2b9d25213e317186303423ebfbeee02 /unix/tclUnixChan.c
parentbd0c824cbd2ddcd1696ab853ba64a33290bd62da (diff)
downloadtcl-bd47c76800ec6de95366210adcfdd88bbf238bc3.zip
tcl-bd47c76800ec6de95366210adcfdd88bbf238bc3.tar.gz
tcl-bd47c76800ec6de95366210adcfdd88bbf238bc3.tar.bz2
Remove unused variable (compiler warning)
Diffstat (limited to 'unix/tclUnixChan.c')
-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;