diff options
author | dkf <dkf@noemail.net> | 2003-03-20 10:03:41 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2003-03-20 10:03:41 (GMT) |
commit | 7e5b0db923be3a195d4d3f83c5ddf38b46bdd0d9 (patch) | |
tree | 41ce3e9cf38e5dc1447f1ca1fe043e4c2df3ba33 /generic/tclCompCmds.c | |
parent | dc07f10dcbe374ff20adfec4a2f55a2224476f7f (diff) | |
download | tcl-7e5b0db923be3a195d4d3f83c5ddf38b46bdd0d9.zip tcl-7e5b0db923be3a195d4d3f83c5ddf38b46bdd0d9.tar.gz tcl-7e5b0db923be3a195d4d3f83c5ddf38b46bdd0d9.tar.bz2 |
Stopped some GCC possibly-uninit-variable warnings.
FossilOrigin-Name: 750162b7e1ba2b6292e36bdb6ba2cfffad8202fe
Diffstat (limited to 'generic/tclCompCmds.c')
-rw-r--r-- | generic/tclCompCmds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclCompCmds.c b/generic/tclCompCmds.c index fdd339b..0596927 100644 --- a/generic/tclCompCmds.c +++ b/generic/tclCompCmds.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: tclCompCmds.c,v 1.43 2003/03/19 16:51:42 dgp Exp $ + * RCS: @(#) $Id: tclCompCmds.c,v 1.44 2003/03/20 10:03:42 dkf Exp $ */ #include "tclInt.h" @@ -2862,7 +2862,7 @@ TclCompileSwitchCmd(interp, parsePtr, envPtr) int contFixIndex; /* Where the first of the jumps due to a * group of continuation bodies starts, * or -1 if there aren't any. */ - int contFixCount; /* Number of continuation bodies pointing + int contFixCount = 0; /* Number of continuation bodies pointing * to the current (or next) real body. */ int codeOffset; /* Cache of current bytecode offset. */ int savedStackDepth = envPtr->currStackDepth; @@ -3048,7 +3048,7 @@ TclCompileSwitchCmd(interp, parsePtr, envPtr) foundDefault = 0; for (i=0 ; i<argc ; i+=2) { int code; /* Return codes from sub-compiles. */ - int nextArmFixupIndex; + int nextArmFixupIndex = -1; /* * Generate the test for the arm. |