]> granicus.if.org Git - vim/commitdiff
patch 8.2.4118: using UNUSED for argument that is used v8.2.4118
authorBram Moolenaar <Bram@vim.org>
Sun, 16 Jan 2022 21:54:19 +0000 (21:54 +0000)
committerBram Moolenaar <Bram@vim.org>
Sun, 16 Jan 2022 21:54:19 +0000 (21:54 +0000)
Problem:    Using UNUSED for argument that is used.
Solution:   Remove UNUSED.

src/usercmd.c
src/version.c

index 2830a50386ae7c106eed8e0477cafe2a61e00798..70f45aab81a14bc7add741f502c56b46c8423c07 100644 (file)
@@ -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;
index 1c367e68e92dee6a4410a91f8aaa68629a8ff21b..fe27375c76ab5b7cc3ae822f0751bfde063ad73d 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4118,
 /**/
     4117,
 /**/