summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2015-08-05 14:44:19 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2015-08-05 14:44:19 (GMT)
commitc4e3c617ad5a9e18249d03c7fc6bfc3fd2bf17eb (patch)
tree18b997271388dd38cd5c30d252a27dae85c9c4c4
parent613d77612c729153bf0100a0fb30b594b23b4706 (diff)
downloadtcl-c4e3c617ad5a9e18249d03c7fc6bfc3fd2bf17eb.zip
tcl-c4e3c617ad5a9e18249d03c7fc6bfc3fd2bf17eb.tar.gz
tcl-c4e3c617ad5a9e18249d03c7fc6bfc3fd2bf17eb.tar.bz2
mark function return as unused, to avoid confusing Coverity
-rw-r--r--generic/tclUtil.c2
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++) {