diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-12-13 12:14:37 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-12-13 12:14:37 (GMT) |
commit | 9918a06afa1ecf70ae09e97275c71932f41648e3 (patch) | |
tree | e95c977d9cf78e7e37dbae3a9bd401a34b8368f5 /generic/tcl.h | |
parent | eace9319cbc98014c7487b7582f750ff693c0570 (diff) | |
parent | e1c8f78ed0b89df2af160895d4fca6d630815c2a (diff) | |
download | tcl-9918a06afa1ecf70ae09e97275c71932f41648e3.zip tcl-9918a06afa1ecf70ae09e97275c71932f41648e3.tar.gz tcl-9918a06afa1ecf70ae09e97275c71932f41648e3.tar.bz2 |
Changelog entry, and change macro variable to not conflict with possible outside variable names
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) \ |