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 cc7139d..c70a433 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -4783,7 +4783,7 @@
* 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 5ff481f..f95b2a5 100644
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 587,
+/**/
586,
/**/
585,