diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-12-13 12:14:37 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-12-13 12:14:37 (GMT) |
commit | d6d7f2734788b7d5b1a4f278ffcc2d05ce495a3a (patch) | |
tree | e95c977d9cf78e7e37dbae3a9bd401a34b8368f5 /generic/tcl.h | |
parent | f8d0e778b9746cbfce87aaca49cbe0eaa4ce2045 (diff) | |
parent | fc1f23bcb0e198bff00b3970da34de824e31ef7c (diff) | |
download | tcl-d6d7f2734788b7d5b1a4f278ffcc2d05ce495a3a.zip tcl-d6d7f2734788b7d5b1a4f278ffcc2d05ce495a3a.tar.gz tcl-d6d7f2734788b7d5b1a4f278ffcc2d05ce495a3a.tar.bz2 |
Changelog entry, and change macro variable to not conflict with possible outside variable names
FossilOrigin-Name: 25064e0f65e7b1538c3db3f0a7b26a41f0cec6f9
Diffstat (limited to 'generic/tcl.h')
-rw-r--r-- | generic/tcl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tcl.h b/generic/tcl.h index 5a85c33..129a044 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -2502,9 +2502,9 @@ EXTERN void Tcl_GetMemoryInfo(Tcl_DString *dsPtr); */ # define Tcl_DecrRefCount(objPtr) \ do { \ - Tcl_Obj *obj = (objPtr); \ - if ((obj)->refCount-- < 2) { \ - TclFreeObj(obj); \ + Tcl_Obj *_objPtr = (objPtr); \ + if (_objPtr->refCount-- < 2) { \ + TclFreeObj(_objPtr); \ } \ } while(0) # define Tcl_IsShared(objPtr) \ |