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 /src/vim9compile.c | |
parent | 33b55b562b90e5cc0091fa39d87cd60956c73f57 (diff) | |
download | vim-git-fcb86b0a99a9abedc408c99dae7591b6da832be8.tar.gz |
patch 9.0.0689: compiler warning for unused functionv9.0.0689
Problem: Compiler warning for unused function.
Solution: Add #ifdef. (John Marriott)
Diffstat (limited to 'src/vim9compile.c')
-rw-r--r-- | src/vim9compile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vim9compile.c b/src/vim9compile.c index 9f36dc951..468c3846d 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". |