forked from aniani/vim
patch 8.1.1862: Coverity warns for not using return value
Problem: Coverity warns for not using return value. Solution: Add "(void)" to avoid the warning.
This commit is contained in:
parent
24278d2407
commit
9c272a9e52
@ -8065,7 +8065,7 @@ nv_g_cmd(cmdarg_T *cap)
|
||||
{
|
||||
if (cap->count1 > 1)
|
||||
// if it fails, let the cursor still move to the last char
|
||||
cursor_down(cap->count1 - 1, FALSE);
|
||||
(void)cursor_down(cap->count1 - 1, FALSE);
|
||||
|
||||
i = curwin->w_leftcol + curwin->w_width - col_off - 1;
|
||||
coladvance((colnr_T)i);
|
||||
|
@ -769,6 +769,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1862,
|
||||
/**/
|
||||
1861,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user