diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2015-08-05 14:44:19 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2015-08-05 14:44:19 (GMT) |
commit | c4e3c617ad5a9e18249d03c7fc6bfc3fd2bf17eb (patch) | |
tree | 18b997271388dd38cd5c30d252a27dae85c9c4c4 | |
parent | 613d77612c729153bf0100a0fb30b594b23b4706 (diff) | |
download | tcl-c4e3c617ad5a9e18249d03c7fc6bfc3fd2bf17eb.zip tcl-c4e3c617ad5a9e18249d03c7fc6bfc3fd2bf17eb.tar.gz tcl-c4e3c617ad5a9e18249d03c7fc6bfc3fd2bf17eb.tar.bz2 |
mark function return as unused, to avoid confusing Coverity
-rw-r--r-- | generic/tclUtil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclUtil.c b/generic/tclUtil.c index 64589a2..d449e58 100644 --- a/generic/tclUtil.c +++ b/generic/tclUtil.c @@ -2014,7 +2014,7 @@ Tcl_ConcatObj( */ TclNewObj(resPtr); - Tcl_AttemptSetObjLength(resPtr, bytesNeeded + objc - 1); + (void) Tcl_AttemptSetObjLength(resPtr, bytesNeeded + objc - 1); Tcl_SetObjLength(resPtr, 0); for (i = 0; i < objc; i++) { |