]> granicus.if.org Git - vim/commitdiff
patch 8.2.0587: compiler warning for unused variable v8.2.0587
authorBram Moolenaar <Bram@vim.org>
Thu, 16 Apr 2020 21:01:50 +0000 (23:01 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 16 Apr 2020 21:01:50 +0000 (23:01 +0200)
Problem:    Compiler warning for unused variable.
Solution:   Add UNUSED.

src/ex_docmd.c
src/version.c

index cc7139df682aafaca658fdb6dd10a90e6280820d..c70a4334c0b68d74913e44b1dfe0f03f3c5972f8 100644 (file)
@@ -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;
 
index 5ff481f344dd677cc5b06ced4f00f85f805ce5b1..f95b2a5199f52c9b5a051c7c4f2f7fbe70ac6e40 100644 (file)
@@ -746,6 +746,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    587,
 /**/
     586,
 /**/