diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-10-07 22:46:24 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-10-07 22:46:24 +0100 |
commit | fcb86b0a99a9abedc408c99dae7591b6da832be8 (patch) | |
tree | e22469daf062c361c91f7630d85d1275afd429df | |
parent | 33b55b562b90e5cc0091fa39d87cd60956c73f57 (diff) |
patch 9.0.0689: compiler warning for unused functionv9.0.0689
Problem: Compiler warning for unused function.
Solution: Add #ifdef. (John Marriott)
-rw-r--r-- | src/version.c | 2 | ||||
-rw-r--r-- | src/vim9compile.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/version.c b/src/version.c index 2108099bb0..1d60238469 100644 --- 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, diff --git a/src/vim9compile.c b/src/vim9compile.c index 9f36dc9517..468c3846d8 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -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". |