diff options
author | dgp <dgp@users.sourceforge.net> | 2009-07-16 21:24:38 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2009-07-16 21:24:38 (GMT) |
commit | 47696f530aabf1a5ddab3d36eb8481b469d44397 (patch) | |
tree | 2212f61d925aabd55784a55ed9182b092a9bf383 /generic/tclVar.c | |
parent | b5f035d9c80dbec4986ba4e7e2ba4a1881d90d38 (diff) | |
download | tcl-47696f530aabf1a5ddab3d36eb8481b469d44397.zip tcl-47696f530aabf1a5ddab3d36eb8481b469d44397.tar.gz tcl-47696f530aabf1a5ddab3d36eb8481b469d44397.tar.bz2 |
* generic/tclBinary.c: Removed unused variables.
* generic/tclCmdIL.c:
* generic/tclCompile.c:
* generic/tclExecute.c:
* generic/tclHash.c:
* generic/tclIOUtil.c:
* generic/tclVar.c:
* generic/tclBasic.c: Silence compiler warnings about ClientData.
* generic/tclProc.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 d87cdf9..eb7cf53 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.178 2009/03/24 09:30:07 dkf Exp $ + * RCS: @(#) $Id: tclVar.c,v 1.179 2009/07/16 21:24:40 dgp Exp $ */ #include "tclInt.h" @@ -516,12 +516,15 @@ TclObjLookupVarEx( const Tcl_ObjType *typePtr = part1Ptr->typePtr; const char *errMsg = NULL; CallFrame *varFramePtr = iPtr->varFramePtr; +#if ENABLE_NS_VARNAME_CACHING Namespace *nsPtr; +#endif const char *part2 = part2Ptr? TclGetString(part2Ptr):NULL; char *newPart2 = NULL; *arrayPtrPtr = NULL; +#if ENABLE_NS_VARNAME_CACHING if (varFramePtr) { nsPtr = varFramePtr->nsPtr; } else { @@ -532,6 +535,7 @@ TclObjLookupVarEx( nsPtr = NULL; } +#endif if (typePtr == &localVarNameType) { int localIndex; |