Mercurial > vim
changeset 30709:223865a5f0f0 v9.0.0689
patch 9.0.0689: compiler warning for unused function
Commit: https://github.com/vim/vim/commit/fcb86b0a99a9abedc408c99dae7591b6da832be8
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Oct 7 22:46:24 2022 +0100
patch 9.0.0689: compiler warning for unused function
Problem: Compiler warning for unused function.
Solution: Add #ifdef. (John Marriott)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 08 Oct 2022 00:00:03 +0200 |
parents | 4936e1df9199 |
children | e81606c178f2 |
files | src/version.c src/vim9compile.c |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/version.c +++ b/src/version.c @@ -700,6 +700,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 689, +/**/ 688, /**/ 687,
--- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -2682,6 +2682,7 @@ check_args_shadowing(ufunc_T *ufunc, cct 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".