summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordas <das>2007-06-23 23:20:31 (GMT)
committerdas <das>2007-06-23 23:20:31 (GMT)
commit86e0625ea8d0be5127e0213dd834e0f5995cbac3 (patch)
treedb4fbba33515f08d793faef9450166b98037e874 /generic
parent27f618ae4e0f321c07df88dd104b9bae5da3a038 (diff)
downloadtcl-86e0625ea8d0be5127e0213dd834e0f5995cbac3.zip
tcl-86e0625ea8d0be5127e0213dd834e0f5995cbac3.tar.gz
tcl-86e0625ea8d0be5127e0213dd834e0f5995cbac3.tar.bz2
fix warnings
Diffstat (limited to 'generic')
-rw-r--r--generic/tclBasic.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index ac3b5f8..ab184b8 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -13,7 +13,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.256 2007/06/21 18:41:16 dgp Exp $
+ * RCS: @(#) $Id: tclBasic.c,v 1.257 2007/06/23 23:20:31 das Exp $
*/
#include "tclInt.h"
@@ -3903,11 +3903,12 @@ TclEvalEx(
int linesStatic[NUM_STATIC_OBJS], *lines, *lineSpace;
Tcl_Token *tokenPtr;
int code = TCL_OK;
- int i, commandLength, bytesLeft, expandRequested;
+ int commandLength, bytesLeft, expandRequested;
CallFrame *savedVarFramePtr;/* Saves old copy of iPtr->varFramePtr in case
* TCL_EVAL_GLOBAL was set. */
int allowExceptions = (iPtr->evalFlags & TCL_ALLOW_EXCEPTIONS);
- int gotParse = 0, objectsUsed = 0;
+ int gotParse = 0;
+ unsigned int i, objectsUsed = 0;
/* These variables keep track of how much
* state has been allocated while evaluating
* the script, so that it can be freed