diff options
-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); |