From bdfea95a40fd30e001d45e619b914587d038a4e4 Mon Sep 17 00:00:00 2001 From: hobbs Date: Tue, 7 Dec 2004 00:01:48 +0000 Subject: * unix/tclUnixNotfy.c (NotifierThreadProc): init numFdBits [Bug 1079286] --- unix/tclUnixNotfy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unix/tclUnixNotfy.c b/unix/tclUnixNotfy.c index 2ccfa56..b6ea35a 100644 --- a/unix/tclUnixNotfy.c +++ b/unix/tclUnixNotfy.c @@ -11,7 +11,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclUnixNotfy.c,v 1.18 2004/11/24 20:12:19 kennykb Exp $ + * RCS: @(#) $Id: tclUnixNotfy.c,v 1.19 2004/12/07 00:01:48 hobbs Exp $ */ #include "tclInt.h" @@ -863,7 +863,7 @@ NotifierThreadProc(clientData) fd_set writableMask; fd_set exceptionalMask; int fds[2]; - int i, status, numFdBits, receivePipe; + int i, status, numFdBits = 0, receivePipe; long found; struct timeval poll = {0., 0.}, *timePtr; char buf[2]; -- cgit v0.12