]> granicus.if.org Git - vim/commitdiff
patch 9.0.1264: Motif: compiler warning for unused argument v9.0.1264
authorBram Moolenaar <Bram@vim.org>
Mon, 30 Jan 2023 19:26:24 +0000 (19:26 +0000)
committerBram Moolenaar <Bram@vim.org>
Mon, 30 Jan 2023 19:26:24 +0000 (19:26 +0000)
Problem:    Motif: compiler warning for unused argument.
Solution:   Add "UNUSED".

src/optionstr.c
src/version.c

index 1329be31a08a0905cc61c0c7323f54aee2130d7d..1665509df933829a9b48a744bc5b1873c31ed76b 100644 (file)
@@ -1562,7 +1562,7 @@ did_set_showbreak(char_u **varp)
  * The 'guifont' option is changed.
  */
     static char *
-did_set_guifont(char_u *oldval, int *redraw_gui_only)
+did_set_guifont(char_u *oldval UNUSED, int *redraw_gui_only)
 {
     char_u     *p;
     char       *errmsg = NULL;
index 7e93b11da7285bce80d26f70abf04d6f5a5e2fe1..5436c99fc9d41ae6eaa48d3a32db8ab2438e1fdb 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1264,
 /**/
     1263,
 /**/