From 97dfe82b36e19d08b902a2509b3797907d0268cb Mon Sep 17 00:00:00 2001 From: dkf Date: Thu, 20 Mar 2003 10:03:42 +0000 Subject: Stopped some GCC possibly-uninit-variable warnings. --- generic/tclCompCmds.c | 6 +++--- 1 file 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