]> granicus.if.org Git - vim/commitdiff
patch 8.2.3119: compiler warning for unused argument v8.2.3119
authorBram Moolenaar <Bram@vim.org>
Wed, 7 Jul 2021 20:13:08 +0000 (22:13 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 7 Jul 2021 20:13:08 +0000 (22:13 +0200)
Problem:    Compiler warning for unused argument.
Solution:   Add UNUSED.

src/evalfunc.c
src/version.c

index 34eac6987cb364a527b5f58006b73eb9ee2cf710..bdfb5708827dae250c660efc9e02a6bc346bb4ee 100644 (file)
@@ -522,7 +522,7 @@ ret_list_dict_any(int argcount UNUSED, type_T **argtypes UNUSED)
     return &t_list_dict_any;
 }
     static type_T *
-ret_list_items(int argcount, type_T **argtypes UNUSED)
+ret_list_items(int argcount UNUSED, type_T **argtypes UNUSED)
 {
     return &t_list_list_any;
 }
index e080a2fa31c279e8bc02cd44ded426f77f225509..03e2546c6e3389fd547112c511d7fe5725dbb4b8 100644 (file)
@@ -755,6 +755,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3119,
 /**/
     3118,
 /**/