]> granicus.if.org Git - vim/commitdiff
patch 8.1.1576: compiler warning for unused argument v8.1.1576
authorBram Moolenaar <Bram@vim.org>
Thu, 20 Jun 2019 22:12:29 +0000 (00:12 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 20 Jun 2019 22:12:29 +0000 (00:12 +0200)
Problem:    Compiler warning for unused argument.
Solution:   Add "UNUSED" annotation. (Dominique Pelle, closes #4570)

src/ui.c
src/version.c

index db878e61a1b1473af7cf9a18313c29f8fea842fe..896ab0ce223dee0cda640b4ed33aa15cec20b97a 100644 (file)
--- a/src/ui.c
+++ b/src/ui.c
@@ -1484,7 +1484,7 @@ clip_invert_area(
  */
     static void
 clip_invert_rectangle(
-       Clipboard_T     *cbd,
+       Clipboard_T     *cbd UNUSED,
        int             row_arg,
        int             col_arg,
        int             height_arg,
index 019be44bad6e56d61a2c00d14d21436567815260..ce9e459097f7f313b722ead8cf80833e7b2ec7e0 100644 (file)
@@ -777,6 +777,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1576,
 /**/
     1575,
 /**/