]> granicus.if.org Git - vim/commitdiff
patch 9.0.0412: compiler warning for unused argument v9.0.0412
authorBram Moolenaar <Bram@vim.org>
Wed, 7 Sep 2022 20:46:56 +0000 (21:46 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 7 Sep 2022 20:46:56 +0000 (21:46 +0100)
Problem:    Compiler warning for unused argument.
Solution:   Add UNUSED.

src/charset.c
src/version.c

index 79a281580bfd0a2e04021b16a0c62e2286b81a1f..d26a696c740a04b94c7f976d8aa2b2bd74db48e6 100644 (file)
@@ -943,7 +943,7 @@ vim_isprintc_strict(int c)
 init_chartabsize_arg(
        chartabsize_T   *cts,
        win_T           *wp,
-       linenr_T        lnum,
+       linenr_T        lnum UNUSED,
        colnr_T         col,
        char_u          *line,
        char_u          *ptr)
index 78a1ae0965ea2cbea9461e7903047e05bcaa08b2..e243a4fc9bd0d12debb26b1493120f0788e22845 100644 (file)
@@ -703,6 +703,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    412,
 /**/
     411,
 /**/