From: Bram Moolenaar Date: Thu, 21 Apr 2016 06:56:12 +0000 (+0200) Subject: patch 7.4.1761 X-Git-Tag: v7.4.1761 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8ed43916dbea4ccedcc84d271e292abbf658b9c5;p=thirdparty%2Fvim.git patch 7.4.1761 Problem: Coverity complains about ignoring return value. Solution: Add "(void)" to get rid of the warning. --- diff --git a/src/eval.c b/src/eval.c index 53a651a4d9..1daf042e18 100644 --- a/src/eval.c +++ b/src/eval.c @@ -13178,7 +13178,7 @@ f_getreg(typval_T *argvars, typval_T *rettv) rettv->vval.v_list = (list_T *)get_reg_contents(regname, (arg2 ? GREG_EXPR_SRC : 0) | GREG_LIST); if (rettv->vval.v_list == NULL) - rettv_list_alloc(rettv); + (void)rettv_list_alloc(rettv); else ++rettv->vval.v_list->lv_refcount; } diff --git a/src/version.c b/src/version.c index eeff8c6f5d..63dedd72de 100644 --- a/src/version.c +++ b/src/version.c @@ -748,6 +748,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1761, /**/ 1760, /**/