comparison src/normal.c @ 17730:2fe133c7e972 v8.1.1862

patch 8.1.1862: Coverity warns for not using return value commit https://github.com/vim/vim/commit/9c272a9e52c914d6630f2cc887da89f63e7e983a Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 16 21:54:27 2019 +0200 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.
author Bram Moolenaar <Bram@vim.org>
date Fri, 16 Aug 2019 22:00:05 +0200
parents 3dbff5d37520
children 92e0996e1cb8
comparison
equal deleted inserted replaced
17729:e73dd20c69f4 17730:2fe133c7e972
8063 } 8063 }
8064 else 8064 else
8065 { 8065 {
8066 if (cap->count1 > 1) 8066 if (cap->count1 > 1)
8067 // if it fails, let the cursor still move to the last char 8067 // if it fails, let the cursor still move to the last char
8068 cursor_down(cap->count1 - 1, FALSE); 8068 (void)cursor_down(cap->count1 - 1, FALSE);
8069 8069
8070 i = curwin->w_leftcol + curwin->w_width - col_off - 1; 8070 i = curwin->w_leftcol + curwin->w_width - col_off - 1;
8071 coladvance((colnr_T)i); 8071 coladvance((colnr_T)i);
8072 8072
8073 // Make sure we stick in this column. 8073 // Make sure we stick in this column.