0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 9.0.0689: compiler warning for unused function

Problem:    Compiler warning for unused function.
Solution:   Add #ifdef. (John Marriott)
This commit is contained in:
Bram Moolenaar 2022-10-07 22:46:24 +01:00
parent 33b55b562b
commit fcb86b0a99
2 changed files with 4 additions and 0 deletions

View File

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

View File

@ -2682,6 +2682,7 @@ check_args_shadowing(ufunc_T *ufunc, cctx_T *cctx)
return r;
}
#ifdef HAS_MESSAGE_WINDOW
/*
* Get a count before a command. Can only be a number.
* Returns zero if there is no count.
@ -2707,6 +2708,7 @@ get_cmd_count(char_u *line, exarg_T *eap)
}
return atol((char *)p);
}
#endif
/*
* Get the compilation type that should be used for "ufunc".