changeset 27179:c4b94533559e v8.2.4118

patch 8.2.4118: using UNUSED for argument that is used Commit: https://github.com/vim/vim/commit/0023f82a76cf43a12b41e71f97a2e860d0444e1b Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 16 21:54:19 2022 +0000 patch 8.2.4118: using UNUSED for argument that is used Problem: Using UNUSED for argument that is used. Solution: Remove UNUSED.
author Bram Moolenaar <Bram@vim.org>
date Sun, 16 Jan 2022 23:00:03 +0100
parents 92e8c2995d62
children 26dee2622570
files src/usercmd.c src/version.c
diffstat 2 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/usercmd.c
+++ b/src/usercmd.c
@@ -123,10 +123,10 @@ static struct
     char_u *
 find_ucmd(
     exarg_T	*eap,
-    char_u	*p,	// end of the command (possibly including count)
-    int		*full,	// set to TRUE for a full match
-    expand_T	*xp,	// used for completion, NULL otherwise
-    int		*complp UNUSED)	// completion flags or NULL
+    char_u	*p,	 // end of the command (possibly including count)
+    int		*full,	 // set to TRUE for a full match
+    expand_T	*xp,	 // used for completion, NULL otherwise
+    int		*complp) // completion flags or NULL
 {
     int		len = (int)(p - eap->cmd);
     int		j, k, matchlen = 0;
--- 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 */
 /**/
+    4118,
+/**/
     4117,
 /**/
     4116,