changeset 25166:ff769f272e7f v8.2.3119

patch 8.2.3119: compiler warning for unused argument Commit: https://github.com/vim/vim/commit/6a9e5c69cf36676e65ae191264872a3e41bde37f Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jul 7 22:13:08 2021 +0200 patch 8.2.3119: compiler warning for unused argument Problem: Compiler warning for unused argument. Solution: Add UNUSED.
author Bram Moolenaar <Bram@vim.org>
date Wed, 07 Jul 2021 22:15:03 +0200
parents 166e1c1ad0c9
children 92b0acab7286
files src/evalfunc.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -522,7 +522,7 @@ ret_list_dict_any(int argcount UNUSED, t
     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;
 }
--- a/src/version.c
+++ b/src/version.c
@@ -756,6 +756,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    3119,
+/**/
     3118,
 /**/
     3117,