summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2001-11-20 16:52:46 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2001-11-20 16:52:46 (GMT)
commiteb6f69570d628bdf94f80a7571af383eadc6e509 (patch)
tree0573e2579f8e7f3da5a63a8357a30228f67ff77a
parent1d3de91d2fdf641f74f27fe044bc30c4c8415a0a (diff)
downloadtcl-eb6f69570d628bdf94f80a7571af383eadc6e509.zip
tcl-eb6f69570d628bdf94f80a7571af383eadc6e509.tar.gz
tcl-eb6f69570d628bdf94f80a7571af383eadc6e509.tar.bz2
missing variable declaration under TCL_COMPILE_DEBUG.
-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