summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2003-02-19 14:33:37 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2003-02-19 14:33:37 (GMT)
commit2f11046286a55314b942213dfb6f2fad4fdb837e (patch)
tree35412c56a64101944132b6a36ca22e6a8d695d06 /generic/tclCompile.c
parente957a316c0074ebe8a764377855fa226942ba2af (diff)
downloadtcl-2f11046286a55314b942213dfb6f2fad4fdb837e.zip
tcl-2f11046286a55314b942213dfb6f2fad4fdb837e.tar.gz
tcl-2f11046286a55314b942213dfb6f2fad4fdb837e.tar.bz2
* generic/tclCompile.c (TclCompileExprWords): remove unused
variable "range" [Bug 664743] * generic/tclExecute.c (ExprSrandFunc): remove unused variable "result" [Bug 664743] * generic/tclStringObj.c (UpdateStringOfString): remove unused variable "length" [Bug 664751] * tests/execute.test (execute-7.30): fix for [Bug 664775]
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r--generic/tclCompile.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c
index feeb7e6..704178b 100644
--- a/generic/tclCompile.c
+++ b/generic/tclCompile.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: tclCompile.c,v 1.42 2003/02/16 01:36:32 msofer Exp $
+ * RCS: @(#) $Id: tclCompile.c,v 1.43 2003/02/19 14:33:39 msofer Exp $
*/
#include "tclInt.h"
@@ -1448,10 +1448,9 @@ TclCompileExprWords(interp, tokenPtr, numWords, envPtr)
CompileEnv *envPtr; /* Holds the resulting instructions. */
{
Tcl_Token *wordPtr;
- int range, numBytes, i, code;
+ int numBytes, i, code;
CONST char *script;
- range = -1;
code = TCL_OK;
/*