From 21cfe500f322a0bea3367c677943ea6c57c282b9 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 16 Apr 2020 23:01:50 +0200 Subject: [PATCH] patch 8.2.0587: compiler warning for unused variable Problem: Compiler warning for unused variable. Solution: Add UNUSED. --- src/ex_docmd.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ex_docmd.c b/src/ex_docmd.c index cc7139df68..c70a4334c0 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 5ff481f344..f95b2a5199 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, /**/