diff options
author | dgp <dgp@users.sourceforge.net> | 2020-09-20 15:53:37 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2020-09-20 15:53:37 (GMT) |
commit | 7a56ff406f3244d777f60d9a5e0da1e5e08f3ef9 (patch) | |
tree | e5f46cd974e0538c358e19cb02f1ea2c626ef55a /generic | |
parent | 107d130ce3db87a24b5136c006f32136b60d079c (diff) | |
download | tcl-7a56ff406f3244d777f60d9a5e0da1e5e08f3ef9.zip tcl-7a56ff406f3244d777f60d9a5e0da1e5e08f3ef9.tar.gz tcl-7a56ff406f3244d777f60d9a5e0da1e5e08f3ef9.tar.bz2 |
Silence compiler warning -- fix safety of macro.
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclInt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index 9629709..3dbffeb 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -4377,7 +4377,7 @@ MODULE_SCOPE void TclDbInitNewObj(Tcl_Obj *objPtr, const char *file, } #define TclHasStringRep(objPtr) \ - objPtr->bytes != NULL + (objPtr->bytes != NULL) /* *---------------------------------------------------------------- |