diff options
author | dgp <dgp@users.sourceforge.net> | 2009-08-26 02:25:47 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2009-08-26 02:25:47 (GMT) |
commit | 1cf40aa113542de5ca0aaa1b00b3a461cd72fceb (patch) | |
tree | a16f969fd3dc7baeeea494aa868774c883eb02bf /generic | |
parent | 290495c7ce8eaa67ffe2fa4fc3b8106742148a27 (diff) | |
download | tcl-1cf40aa113542de5ca0aaa1b00b3a461cd72fceb.zip tcl-1cf40aa113542de5ca0aaa1b00b3a461cd72fceb.tar.gz tcl-1cf40aa113542de5ca0aaa1b00b3a461cd72fceb.tar.bz2 |
silence compiler warnings
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclBasic.c | 4 | ||||
-rw-r--r-- | generic/tclCompile.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c index 715af1b..1231dd7 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.c @@ -14,7 +14,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclBasic.c,v 1.75.2.37 2009/08/25 20:59:10 andreas_kupries Exp $ + * RCS: @(#) $Id: tclBasic.c,v 1.75.2.38 2009/08/26 02:25:47 dgp Exp $ */ #include "tclInt.h" @@ -3592,7 +3592,7 @@ EvalTokensStandard(interp, tokenPtr, count, line, clNextOuter, outerScript) #ifdef TCL_TIP280 #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; #endif diff --git a/generic/tclCompile.c b/generic/tclCompile.c index aa25f26..74688bd 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.43.2.16 2009/08/25 20:59:10 andreas_kupries Exp $ + * RCS: @(#) $Id: tclCompile.c,v 1.43.2.17 2009/08/26 02:25:47 dgp Exp $ */ #include "tclInt.h" @@ -1499,7 +1499,7 @@ TclCompileTokens(interp, tokenPtr, count, envPtr) #ifdef TCL_TIP280 #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 |