forked from aniani/vim
patch 7.4.1761
Problem: Coverity complains about ignoring return value. Solution: Add "(void)" to get rid of the warning.
This commit is contained in:
parent
aa3b15dbeb
commit
8ed43916db
@ -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;
|
||||
}
|
||||
|
@ -748,6 +748,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1761,
|
||||
/**/
|
||||
1760,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user