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)
commit70c0fd83e83c532a4b6d83d082692c43890ea08c (patch)
tree18b997271388dd38cd5c30d252a27dae85c9c4c4
parentff00a132abde8f6a971db3d6e0f04930e1cb7343 (diff)
downloadtcl-70c0fd83e83c532a4b6d83d082692c43890ea08c.zip
tcl-70c0fd83e83c532a4b6d83d082692c43890ea08c.tar.gz
tcl-70c0fd83e83c532a4b6d83d082692c43890ea08c.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++) {