From c3bc5294c9cb1a9a0f0f86178ac29fedb175e759 Mon Sep 17 00:00:00 2001 From: dgp Date: Fri, 10 Apr 2009 21:40:55 +0000 Subject: Remove unused variable (compiler warning) FossilOrigin-Name: 199cda2257754f020eba51e200cf1966215ab486 --- unix/tclUnixChan.c | 4 ++-- 1 file 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; -- cgit v0.12