summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-04-21 08:56:12 +0200
committerBram Moolenaar <Bram@vim.org>2016-04-21 08:56:12 +0200
commit8ed43916dbea4ccedcc84d271e292abbf658b9c5 (patch)
tree618892a3eaf0e15f77cc9c09981e46903990f9be
parentaa3b15dbebf333282503d6031e2f9ba6ee4398ed (diff)
downloadvim-8ed43916dbea4ccedcc84d271e292abbf658b9c5.zip
patch 7.4.1761
Problem: Coverity complains about ignoring return value. Solution: Add "(void)" to get rid of the warning.
-rw-r--r--src/eval.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 53a651a4d..1daf042e1 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 eeff8c6f5..63dedd72d 100644
--- a/src/version.c
+++ b/src/version.c
@@ -749,6 +749,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1761,
+/**/
1760,
/**/
1759,