From 9302cb822e80f3566365632db5bdbb88469866e1 Mon Sep 17 00:00:00 2001 From: das Date: Tue, 25 Aug 2009 23:20:36 +0000 Subject: fix warnings --- generic/tclCompile.c | 4 ++-- generic/tclParse.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/generic/tclCompile.c b/generic/tclCompile.c index a0ac9d3..970c1ef 100644 --- a/generic/tclCompile.c +++ b/generic/tclCompile.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: tclCompile.c,v 1.171 2009/08/25 21:03:25 andreas_kupries Exp $ + * RCS: @(#) $Id: tclCompile.c,v 1.172 2009/08/25 23:20:36 das Exp $ */ #include "tclInt.h" @@ -1691,7 +1691,7 @@ TclCompileTokens( unsigned char *entryCodeNext = envPtr->codeNext; #define NUM_STATIC_POS 20 int isLiteral, maxNumCL, numCL; - int* clPosition; + int *clPosition = NULL; /* * For the handling of continuation lines in literals we first check if diff --git a/generic/tclParse.c b/generic/tclParse.c index 69cc830..aca6048 100644 --- a/generic/tclParse.c +++ b/generic/tclParse.c @@ -2167,7 +2167,7 @@ TclSubstTokens( int code = TCL_OK; #define NUM_STATIC_POS 20 int isLiteral, maxNumCL, numCL, i, adjust; - int* clPosition; + int *clPosition = NULL; Interp* iPtr = (Interp*) interp; int inFile = iPtr->evalFlags & TCL_EVAL_FILE; -- cgit v0.12