diff options
author | dgp <dgp@users.sourceforge.net> | 2009-07-16 20:50:53 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2009-07-16 20:50:53 (GMT) |
commit | 5c9038b30eadc53a06bd92249b583ab15f71c1c7 (patch) | |
tree | b5b2733030e6c8eea0ea745246839c42469ecc7c /generic/tclVar.c | |
parent | 4ddce8d6445b7a711133a230e5c070aeb22f95de (diff) | |
download | tcl-5c9038b30eadc53a06bd92249b583ab15f71c1c7.zip tcl-5c9038b30eadc53a06bd92249b583ab15f71c1c7.tar.gz tcl-5c9038b30eadc53a06bd92249b583ab15f71c1c7.tar.bz2 |
* generic/tclCmdIL.c: Removed unused variables.
* generic/tclCompile.c:
* generic/tclVar.c:
* unix/tclUnixChan.c:
* generic/tclScan.c: Typo in ACCEPT_NAN configuration.
* generic/tclStrToD.c: Set floating point control register on
MIPS systems so that the gradual underflow expected by Tcl is
in effect. [Bug 2819200]
Diffstat (limited to 'generic/tclVar.c')
-rw-r--r-- | generic/tclVar.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tclVar.c b/generic/tclVar.c index dc6699e..8f83738 100644 --- a/generic/tclVar.c +++ b/generic/tclVar.c @@ -16,7 +16,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclVar.c,v 1.160.2.3 2008/10/08 14:52:39 dgp Exp $ + * RCS: @(#) $Id: tclVar.c,v 1.160.2.4 2009/07/16 20:50:54 dgp Exp $ */ #include "tclInt.h" @@ -525,12 +525,15 @@ TclObjLookupVarEx( const Tcl_ObjType *typePtr = part1Ptr->typePtr; const char *errMsg = NULL; CallFrame *varFramePtr = iPtr->varFramePtr; +#if ENABLE_NS_VARNAME_CACHING Namespace *nsPtr; +#endif char *part2 = part2Ptr? TclGetString(part2Ptr):NULL; char *newPart2 = NULL; *arrayPtrPtr = NULL; +#if ENABLE_NS_VARNAME_CACHING if (varFramePtr) { nsPtr = varFramePtr->nsPtr; } else { @@ -541,6 +544,7 @@ TclObjLookupVarEx( nsPtr = NULL; } +#endif if (typePtr == &localVarNameType) { int localIndex; |