changeset 31863:789ac0814945 v9.0.1264

patch 9.0.1264: Motif: compiler warning for unused argument Commit: https://github.com/vim/vim/commit/eb45ad25ab5022e5bead0dbb19fe5704924f918a Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 30 19:26:24 2023 +0000 patch 9.0.1264: Motif: compiler warning for unused argument Problem: Motif: compiler warning for unused argument. Solution: Add "UNUSED".
author Bram Moolenaar <Bram@vim.org>
date Mon, 30 Jan 2023 20:30:02 +0100
parents 778a1b9db35d
children f18ed1684739
files src/optionstr.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/optionstr.c
+++ b/src/optionstr.c
@@ -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;
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1264,
+/**/
     1263,
 /**/
     1262,