From c4e3c617ad5a9e18249d03c7fc6bfc3fd2bf17eb Mon Sep 17 00:00:00 2001 From: Miguel Sofer Date: Wed, 5 Aug 2015 14:44:19 +0000 Subject: mark function return as unused, to avoid confusing Coverity --- generic/tclUtil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) { -- cgit v0.12