summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-04-16 23:01:50 +0200
committerBram Moolenaar <Bram@vim.org>2020-04-16 23:01:50 +0200
commit21cfe500f322a0bea3367c677943ea6c57c282b9 (patch)
tree1d10a2af3cd870bdff64966a214eed22deeed233
parent4a8d9f2ed8c0079732e35d72656a000641353b94 (diff)
patch 8.2.0587: compiler warning for unused variablev8.2.0587
Problem: Compiler warning for unused variable. Solution: Add UNUSED.
-rw-r--r--src/ex_docmd.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
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
@@ -747,6 +747,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 587,
+/**/
586,
/**/
585,