diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2003-02-19 14:33:37 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2003-02-19 14:33:37 (GMT) |
commit | 2f11046286a55314b942213dfb6f2fad4fdb837e (patch) | |
tree | 35412c56a64101944132b6a36ca22e6a8d695d06 /generic/tclExecute.c | |
parent | e957a316c0074ebe8a764377855fa226942ba2af (diff) | |
download | tcl-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/tclExecute.c')
-rw-r--r-- | generic/tclExecute.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c index 3333959..18bba5d 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.93 2003/02/18 02:25:44 hobbs Exp $ + * RCS: @(#) $Id: tclExecute.c,v 1.94 2003/02/19 14:33:39 msofer Exp $ */ #include "tclInt.h" @@ -5446,7 +5446,6 @@ ExprSrandFunc(interp, eePtr, clientData) Interp *iPtr = (Interp *) interp; Tcl_Obj *valuePtr; long i = 0; /* Initialized to avoid compiler warning. */ - int result; /* * Set stackPtr and stackTop from eePtr. @@ -5462,7 +5461,6 @@ ExprSrandFunc(interp, eePtr, clientData) valuePtr = POP_OBJECT(); if (VerifyExprObjType(interp, valuePtr) != TCL_OK) { - result = TCL_ERROR; goto badValue; } |