diff options
author | griffin <briang42@easystreet.net> | 2023-09-16 22:00:55 (GMT) |
---|---|---|
committer | griffin <briang42@easystreet.net> | 2023-09-16 22:00:55 (GMT) |
commit | 77f9161a6fb971a88a6159998526be45b8ed6506 (patch) | |
tree | c7c83a6bdac4d97623e133f860569f2f19003a62 | |
parent | ebca342edeff5a9af18b2128131bcaf8626d7463 (diff) | |
download | tcl-77f9161a6fb971a88a6159998526be45b8ed6506.zip tcl-77f9161a6fb971a88a6159998526be45b8ed6506.tar.gz tcl-77f9161a6fb971a88a6159998526be45b8ed6506.tar.bz2 |
Fix bug [c29b92ec2bbb] - Tcl_IncrRefCount() should return (void)
-rw-r--r-- | generic/tcl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tcl.h b/generic/tcl.h index 1f8c32b..7d7e6aa 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -2513,7 +2513,7 @@ static inline void TclBounceRefCount(Tcl_Obj* objPtr, const char* fn, int line) #else # undef Tcl_IncrRefCount # define Tcl_IncrRefCount(objPtr) \ - ++(objPtr)->refCount + ((void)++(objPtr)->refCount) /* * Use do/while0 idiom for optimum correctness without compiler warnings. * https://wiki.c2.com/?TrivialDoWhileLoop |