patch 7.4.822
Problem: More problems reported by coverity.
Solution: Avoid the warnings. (Christian Brabandt)
diff --git a/src/eval.c b/src/eval.c
index 9de2764..1b2d77e 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -6736,7 +6736,7 @@
len = (int)STRLEN(s);
sumlen += len;
- ga_grow(join_gap, 1);
+ (void)ga_grow(join_gap, 1);
p = ((join_T *)join_gap->ga_data) + (join_gap->ga_len++);
if (tofree != NULL || s != numbuf)
{
@@ -19590,7 +19590,7 @@
goto error;
}
- ga_grow(&ga, cplen);
+ (void)ga_grow(&ga, cplen);
mch_memmove((char *)ga.ga_data + ga.ga_len, cpstr, (size_t)cplen);
ga.ga_len += cplen;
@@ -19610,7 +19610,7 @@
}
/* add a terminating NUL */
- ga_grow(&ga, 1);
+ (void)ga_grow(&ga, 1);
ga_append(&ga, NUL);
rettv->vval.v_string = ga.ga_data;