mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 15:21:47 +00:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user