]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.4101: warning for unused argument in tiny version v8.2.4101
authorBram Moolenaar <Bram@vim.org>
Sat, 15 Jan 2022 18:48:32 +0000 (18:48 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 15 Jan 2022 18:48:32 +0000 (18:48 +0000)
Problem:    Warning for unused argument in tiny version.
Solution:   Add "UNUSED".

src/getchar.c
src/version.c

index 6434b4dc41ec37672edadc7a7d15e8cff0b1b000..ec9cfae1891915059c8af861c4fd5b98aff73d7f 100644 (file)
@@ -3811,7 +3811,7 @@ getcmdkeycmd(
 }
 
     int
-do_cmdkey_command(int key, int flags)
+do_cmdkey_command(int key UNUSED, int flags)
 {
     int            res;
 #ifdef FEAT_EVAL
index d34f1a1536cf82c8ff529e45db76968fa07d4bfa..e6bcb1ba3be1917065698cd77f2a67a82cbb820d 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4101,
 /**/
     4100,
 /**/