diff src/optionstr.c @ 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 8b15e4161605
children f5bbf51d65f7
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;