# HG changeset patch # User Bram Moolenaar # Date 1671984005 -3600 # Node ID 25d8ba667c5af86b44b108b26ea998dc7ec12083 # Parent c671c97b18ed2c6b6e2a54b52c4166bd3504793c patch 9.0.1094: compiler warning when HAS_MESSAGE_WINDOW is not defined Commit: https://github.com/vim/vim/commit/9b99411b93f017609399e04527fdd3b6e83b5a55 Author: Bram Moolenaar Date: Sun Dec 25 15:59:25 2022 +0000 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. diff --git a/src/version.c b/src/version.c --- 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 */ /**/ + 1094, +/**/ 1093, /**/ 1092, diff --git a/src/vim9cmds.c b/src/vim9cmds.c --- a/src/vim9cmds.c +++ b/src/vim9cmds.c @@ -1973,7 +1973,11 @@ compile_defer(char_u *arg_start, cctx_T * 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;