summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-08-16 21:54:27 +0200
committerBram Moolenaar <Bram@vim.org>2019-08-16 21:54:27 +0200
commit9c272a9e52c914d6630f2cc887da89f63e7e983a (patch)
tree59f34beeea1b1d2631ff101b8a7ccc98ba27d7eb /src/normal.c
parent24278d2407dfbc8d93eb36593cdd006ff5d86f94 (diff)
downloadvim-git-9c272a9e52c914d6630f2cc887da89f63e7e983a.tar.gz
patch 8.1.1862: Coverity warns for not using return valuev8.1.1862
Problem: Coverity warns for not using return value. Solution: Add "(void)" to avoid the warning.
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c
index 2067542d3..7951bd5c3 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -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);