From: Bram Moolenaar Date: Thu, 16 Apr 2020 21:01:50 +0000 (+0200) Subject: patch 8.2.0587: compiler warning for unused variable X-Git-Tag: v8.2.0587 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=21cfe500f322a0bea3367c677943ea6c57c282b9;p=vim patch 8.2.0587: compiler warning for unused variable Problem: Compiler warning for unused variable. Solution: Add UNUSED. --- diff --git a/src/ex_docmd.c b/src/ex_docmd.c index cc7139df6..c70a4334c 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -4783,7 +4783,7 @@ ends_excmd(int c) * to "cmd_start" or has a white space character before it. */ int -ends_excmd2(char_u *cmd_start, char_u *cmd) +ends_excmd2(char_u *cmd_start UNUSED, char_u *cmd) { int c = *cmd; diff --git a/src/version.c b/src/version.c index 5ff481f34..f95b2a519 100644 --- a/src/version.c +++ b/src/version.c @@ -746,6 +746,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 587, /**/ 586, /**/