diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-25 02:24:07 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-25 02:24:33 -0400 |
commit | 63d4a6537d8bf1a62b769e594171577b8bbcdd8d (patch) | |
tree | 1364954b1caf243cf798b1afc9dc8e46e2847753 /src/nvim/normal.c | |
parent | b7cd7e0e5c2d450000cfd43f1fbde0497a1c83fd (diff) | |
download | rneovim-63d4a6537d8bf1a62b769e594171577b8bbcdd8d.tar.gz rneovim-63d4a6537d8bf1a62b769e594171577b8bbcdd8d.tar.bz2 rneovim-63d4a6537d8bf1a62b769e594171577b8bbcdd8d.zip |
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.
https://github.com/vim/vim/commit/9c272a9e52c914d6630f2cc887da89f63e7e983a
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r-- | src/nvim/normal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index a51aa0dc07..1cc400166c 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -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); |