diff options
author | hobbs <hobbs@noemail.net> | 2004-12-07 00:01:48 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2004-12-07 00:01:48 (GMT) |
commit | 61837f62eecabb4518b32956bf3748f5108e1918 (patch) | |
tree | be9f7f6e628f88418baff8f66741707ec0489b61 /unix/tclUnixNotfy.c | |
parent | d35a4b9d50d47c2d9da261bd86594675ed28e0b6 (diff) | |
download | tcl-61837f62eecabb4518b32956bf3748f5108e1918.zip tcl-61837f62eecabb4518b32956bf3748f5108e1918.tar.gz tcl-61837f62eecabb4518b32956bf3748f5108e1918.tar.bz2 |
* unix/tclUnixNotfy.c (NotifierThreadProc): init numFdBits
[Bug 1079286]
FossilOrigin-Name: c5a756304943b5528da95521357387daa21584c1
Diffstat (limited to 'unix/tclUnixNotfy.c')
-rw-r--r-- | unix/tclUnixNotfy.c | 4 |
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]; |