summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--generic/tclExecute.c6
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 <msofer@users.sourceforge.net>
+ * generic/tclExecute.c: missing variable declaration under
+ TCL_COMPILE_DEBUG.
+
+2001-11-20 Miguel Sofer <msofer@users.sourceforge.net>
+
* 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