diff options
author | vasiljevic <zv@archiware.com> | 2005-05-20 17:19:06 (GMT) |
---|---|---|
committer | vasiljevic <zv@archiware.com> | 2005-05-20 17:19:06 (GMT) |
commit | 4bac401c88cba259c4111739010cfad50ed6403e (patch) | |
tree | 40fd2a6490c9326fee99a1477a66d09811a5ef36 | |
parent | 30ab2e7be77da7f6eb286f441ae86da6d775b842 (diff) | |
download | tcl-4bac401c88cba259c4111739010cfad50ed6403e.zip tcl-4bac401c88cba259c4111739010cfad50ed6403e.tar.gz tcl-4bac401c88cba259c4111739010cfad50ed6403e.tar.bz2 |
Removed unreferenced stack variable
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | generic/tclParseExpr.c | 5 |
2 files changed, 7 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2005-05-20 Zoran Vasiljevic <vasiljevic@users.sourceforge.net> + + * generic/tclParseExpr.c: removed unreferenced stack variable "errMsg" + probably included by fixing the Bug #1201589 (see below). + 2005-05-20 Don Porter <dgp@users.sourceforge.net> * generic/tclParseExpr.c: Corrected parser to recognize all diff --git a/generic/tclParseExpr.c b/generic/tclParseExpr.c index 2bb1b6f..a1f9d78 100644 --- a/generic/tclParseExpr.c +++ b/generic/tclParseExpr.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: tclParseExpr.c,v 1.17.2.1 2005/05/20 15:28:17 dgp Exp $ + * RCS: @(#) $Id: tclParseExpr.c,v 1.17.2.2 2005/05/20 17:19:10 vasiljevic Exp $ */ #include "tclInt.h" @@ -1387,8 +1387,7 @@ ParsePrimaryExpr(infoPtr) Tcl_DString functionName; Tcl_HashEntry *hPtr; Interp *iPtr = (Interp *) infoPtr->parsePtr->interp; - Tcl_Obj *errMsg, *objPtr - = Tcl_NewStringObj(savedInfo.start, savedInfo.size); + Tcl_Obj *objPtr = Tcl_NewStringObj(savedInfo.start, savedInfo.size); /* Check for boolean literals (true, false, yes, no, on, off) */ Tcl_IncrRefCount(objPtr); |