]> granicus.if.org Git - vim/commitdiff
patch 8.2.1298: compiler warning for unused argument in small version v8.2.1298
authorBram Moolenaar <Bram@vim.org>
Sun, 26 Jul 2020 13:51:06 +0000 (15:51 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 26 Jul 2020 13:51:06 +0000 (15:51 +0200)
Problem:    Compiler warning for unused argument in small version.
Solution:   Add UNUSED.

src/scriptfile.c
src/version.c

index ce9c15d31bb0aa9c1dba4f4b74606ca1f86dc65a..2a8320832ee7b24ee7ba53a74548b309ea525e01 100644 (file)
@@ -114,7 +114,7 @@ estack_pop(void)
  * "is_sfile" is TRUE for <sfile> itself.
  */
     char_u *
-estack_sfile(int is_sfile)
+estack_sfile(int is_sfile UNUSED)
 {
     estack_T   *entry;
 #ifdef FEAT_EVAL
index c45c15519c501c2500af4951975ec42b2fcabcd0..58a434a1b667bf679c7bd50e8a5f984804a58e29 100644 (file)
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1298,
 /**/
     1297,
 /**/