From: Bram Moolenaar Date: Fri, 16 Aug 2019 19:54:27 +0000 (+0200) Subject: patch 8.1.1862: Coverity warns for not using return value X-Git-Tag: v8.1.1862 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9c272a9e52c914d6630f2cc887da89f63e7e983a;p=thirdparty%2Fvim.git 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 index 2067542d3f..7951bd5c36 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); diff --git a/src/version.c b/src/version.c index 6af44429ae..ba37a41156 100644 --- a/src/version.c +++ b/src/version.c @@ -769,6 +769,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1862, /**/ 1861, /**/