]> granicus.if.org Git - vim/commitdiff
patch 9.0.0521: compiler warns for unused argument in small version v9.0.0521
authorBram Moolenaar <Bram@vim.org>
Tue, 20 Sep 2022 19:25:36 +0000 (20:25 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 20 Sep 2022 19:25:36 +0000 (20:25 +0100)
Problem:    Compiler warns for unused argument in small version.
Solution:   Add UNUSED.

src/drawline.c
src/version.c

index d3eff8460512efa30a113b3b77f726f80dfea6ac..07e2048795d513c695536cd75e801de6119a82d0 100644 (file)
@@ -292,7 +292,7 @@ handle_lnum_col(
        win_T           *wp,
        winlinevars_T   *wlv,
        int             sign_present UNUSED,
-       int             num_attr)
+       int             num_attr UNUSED)
 {
     if ((wp->w_p_nu || wp->w_p_rnu)
            && (wlv->row == wlv->startrow + wlv->filler_lines
index 60c0527c90fe8ab53aaf8f9530f784e5d4c8cb0b..36d4f99cfa5a23886e03a8269d9dbfea92503ece 100644 (file)
@@ -699,6 +699,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    521,
 /**/
     520,
 /**/