From eb6f69570d628bdf94f80a7571af383eadc6e509 Mon Sep 17 00:00:00 2001 From: Miguel Sofer Date: Tue, 20 Nov 2001 16:52:46 +0000 Subject: missing variable declaration under TCL_COMPILE_DEBUG. --- ChangeLog | 5 +++++ generic/tclExecute.c | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 65cee05..dcdab88 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2001-11-20 Miguel Sofer + * generic/tclExecute.c: missing variable declaration under + TCL_COMPILE_DEBUG. + +2001-11-20 Miguel Sofer + * generic/tclExecute.c: * generic/tclProc.c: restoring the computations of iPtr->numLevels to the original logic (previous to buggy modifs on 2001-11-16). diff --git a/generic/tclExecute.c b/generic/tclExecute.c index 227cbca..7bb78fa 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.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: tclExecute.c,v 1.38 2001/11/20 16:36:06 msofer Exp $ + * RCS: @(#) $Id: tclExecute.c,v 1.39 2001/11/20 16:52:46 msofer Exp $ */ #include "tclInt.h" @@ -726,7 +726,9 @@ TclExecuteByteCode(interp, codePtr) /* Reference to memory block containing * objv array (must be kept live throughout * trace and command invokations.) */ - +#ifdef TCL_COMPILE_DEBUG + char cmdNameBuf[21]; +#endif objv = &(stackPtr[stackTop - (objc-1)]); #ifdef TCL_COMPILE_DEBUG -- cgit v0.12