0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

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.
This commit is contained in:
Bram Moolenaar
2022-12-25 15:59:25 +00:00
parent 590162cae0
commit 9b99411b93
2 changed files with 7 additions and 1 deletions

View File

@@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1094,
/**/
1093,
/**/

View File

@@ -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;