changeset 27144:54f0a6a9db2d v8.2.4101

patch 8.2.4101: warning for unused argument in tiny version Commit: https://github.com/vim/vim/commit/d4e2f5090124d7753057de82727a99892f0231fe Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 15 18:48:32 2022 +0000 patch 8.2.4101: warning for unused argument in tiny version Problem: Warning for unused argument in tiny version. Solution: Add "UNUSED".
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Jan 2022 20:00:03 +0100
parents fee0ac14727e
children 77a4efb391c0
files src/getchar.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -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
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    4101,
+/**/
     4100,
 /**/
     4099,