From 4bac401c88cba259c4111739010cfad50ed6403e Mon Sep 17 00:00:00 2001 From: vasiljevic Date: Fri, 20 May 2005 17:19:06 +0000 Subject: Removed unreferenced stack variable --- ChangeLog | 5 +++++ generic/tclParseExpr.c | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index cd2c436..9dd987f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-05-20 Zoran Vasiljevic + + * generic/tclParseExpr.c: removed unreferenced stack variable "errMsg" + probably included by fixing the Bug #1201589 (see below). + 2005-05-20 Don Porter * 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); -- cgit v0.12