changeset 20063:cc146cde0b4d v8.2.0587

patch 8.2.0587: compiler warning for unused variable Commit: https://github.com/vim/vim/commit/21cfe500f322a0bea3367c677943ea6c57c282b9 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 16 23:01:50 2020 +0200 patch 8.2.0587: compiler warning for unused variable Problem: Compiler warning for unused variable. Solution: Add UNUSED.
author Bram Moolenaar <Bram@vim.org>
date Thu, 16 Apr 2020 23:15:03 +0200
parents a198083f2ccf
children 6032e7206ddc
files src/ex_docmd.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 
--- 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,