summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorhobbs <hobbs>2004-12-07 00:01:48 (GMT)
committerhobbs <hobbs>2004-12-07 00:01:48 (GMT)
commitbdfea95a40fd30e001d45e619b914587d038a4e4 (patch)
treebe9f7f6e628f88418baff8f66741707ec0489b61 /unix
parent52551aae85a6592aa7e3490e92bded47129a7097 (diff)
downloadtcl-bdfea95a40fd30e001d45e619b914587d038a4e4.zip
tcl-bdfea95a40fd30e001d45e619b914587d038a4e4.tar.gz
tcl-bdfea95a40fd30e001d45e619b914587d038a4e4.tar.bz2
* unix/tclUnixNotfy.c (NotifierThreadProc): init numFdBits
[Bug 1079286]
Diffstat (limited to 'unix')
-rw-r--r--unix/tclUnixNotfy.c4
1 files 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];