diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-12-25 15:59:25 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-12-25 15:59:25 +0000 |
commit | 9b99411b93f017609399e04527fdd3b6e83b5a55 (patch) | |
tree | 6201f2edbceb013fa5fe094fbc3aaa41c18052c2 /src/vim9cmds.c | |
parent | 590162cae0410b50572a3ab0e72a2e5873b99f1a (diff) | |
download | vim-git-9b99411b93f017609399e04527fdd3b6e83b5a55.tar.gz |
patch 9.0.1094: compiler warning when HAS_MESSAGE_WINDOW is not definedv9.0.1094
Problem: Compiler warning when HAS_MESSAGE_WINDOW is not defined.
Solution: Add UNUSED.
Diffstat (limited to 'src/vim9cmds.c')
-rw-r--r-- | src/vim9cmds.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vim9cmds.c b/src/vim9cmds.c index 4fbae4fbd..5aa783e82 100644 --- a/src/vim9cmds.c +++ b/src/vim9cmds.c @@ -1973,7 +1973,11 @@ compile_defer(char_u *arg_start, cctx_T *cctx) * compile "execute expr" */ char_u * -compile_mult_expr(char_u *arg, int cmdidx, long cmd_count, cctx_T *cctx) +compile_mult_expr( + char_u *arg, + int cmdidx, + long cmd_count UNUSED, + cctx_T *cctx) { char_u *p = arg; char_u *prev = arg; |