From 9b99411b93f017609399e04527fdd3b6e83b5a55 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 25 Dec 2022 15:59:25 +0000 Subject: [PATCH] patch 9.0.1094: compiler warning when HAS_MESSAGE_WINDOW is not defined Problem: Compiler warning when HAS_MESSAGE_WINDOW is not defined. Solution: Add UNUSED. --- src/version.c | 2 ++ src/vim9cmds.c | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/version.c b/src/version.c index 5c21f7a9f2..95d2a6b6ab 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1094, /**/ 1093, /**/ diff --git a/src/vim9cmds.c b/src/vim9cmds.c index 4fbae4fbd6..5aa783e824 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;