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.
9c272a9e52
This commit is contained in:
Jan Edmund Lazo
2020-10-25 02:24:07 -04:00
parent b7cd7e0e5c
commit 63d4a6537d

View File

@@ -6841,7 +6841,7 @@ static void nv_g_cmd(cmdarg_T *cap)
} else {
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_inner - col_off - 1;
coladvance((colnr_T)i);