mirror of
https://github.com/zoriya/vim.git
synced 2025-12-21 14:45:17 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user