# HG changeset patch # User Bram Moolenaar # Date 1565985605 -7200 # Node ID 2fe133c7e972a98a698106e4df418b809a220de1 # Parent e73dd20c69f4e1b2c180cd657a614ea7ca0b3743 patch 8.1.1862: Coverity warns for not using return value commit https://github.com/vim/vim/commit/9c272a9e52c914d6630f2cc887da89f63e7e983a Author: Bram Moolenaar 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. diff --git a/src/normal.c b/src/normal.c --- 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); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -770,6 +770,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1862, +/**/ 1861, /**/ 1860,