summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvasiljevic <zv@archiware.com>2005-05-20 17:19:06 (GMT)
committervasiljevic <zv@archiware.com>2005-05-20 17:19:06 (GMT)
commit7527583f4430c1af1f7ecc2fb460dace68f8f0bc (patch)
tree40fd2a6490c9326fee99a1477a66d09811a5ef36
parentab0016fd32f06b94c204b5ed6c186a19251fc955 (diff)
downloadtcl-7527583f4430c1af1f7ecc2fb460dace68f8f0bc.zip
tcl-7527583f4430c1af1f7ecc2fb460dace68f8f0bc.tar.gz
tcl-7527583f4430c1af1f7ecc2fb460dace68f8f0bc.tar.bz2
Removed unreferenced stack variable
-rw-r--r--ChangeLog5
-rw-r--r--generic/tclParseExpr.c5
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 <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);