Mercurial > vim
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;