summaryrefslogtreecommitdiffstats
path: root/generic/tclExecute.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-05-21 21:30:53 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-05-21 21:30:53 (GMT)
commitcfa13d98b75f061041620fe58e5c2beca784d94d (patch)
treeb687015f160a32ee48ca0b60a5827576ed6d7359 /generic/tclExecute.c
parentba6ec48f9035744eb537bede1f77cffa94e26517 (diff)
downloadtcl-cfa13d98b75f061041620fe58e5c2beca784d94d.zip
tcl-cfa13d98b75f061041620fe58e5c2beca784d94d.tar.gz
tcl-cfa13d98b75f061041620fe58e5c2beca784d94d.tar.bz2
Variables should only ever be declarated at the start of a block...
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r--generic/tclExecute.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c
index da9b7c8..033e705 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.136 2004/05/21 09:39:28 msofer Exp $
+ * RCS: @(#) $Id: tclExecute.c,v 1.137 2004/05/21 21:31:03 dkf Exp $
*/
#include "tclInt.h"
@@ -2520,12 +2520,12 @@ TclExecuteByteCode(interp, codePtr)
char *s;
Tcl_ObjType *t1Ptr, *t2Ptr;
Tcl_Obj *valuePtr, *value2Ptr;
+ Tcl_WideInt w;
value2Ptr = *tosPtr;
valuePtr = *(tosPtr - 1);
t1Ptr = valuePtr->typePtr;
t2Ptr = value2Ptr->typePtr;
- Tcl_WideInt w;
if ((t1Ptr == &tclIntType) || (t1Ptr == &tclBooleanType)) {
i1 = (valuePtr->internalRep.longValue != 0);
@@ -3095,9 +3095,9 @@ TclExecuteByteCode(interp, codePtr)
*/
int index, length;
char *bytes;
- bytes = NULL; /* lint */
Tcl_Obj *valuePtr, *value2Ptr;
+ bytes = NULL; /* lint */
value2Ptr = *tosPtr;
valuePtr = *(tosPtr - 1);