Mercurial > vim
comparison src/vim9compile.c @ 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 | f60315945f4a |
children | 9d2c4d49b006 |
comparison
equal
deleted
inserted
replaced
30708:4936e1df9199 | 30709:223865a5f0f0 |
---|---|
2680 } | 2680 } |
2681 ufunc->uf_args_visible = ufunc->uf_args.ga_len; | 2681 ufunc->uf_args_visible = ufunc->uf_args.ga_len; |
2682 return r; | 2682 return r; |
2683 } | 2683 } |
2684 | 2684 |
2685 #ifdef HAS_MESSAGE_WINDOW | |
2685 /* | 2686 /* |
2686 * Get a count before a command. Can only be a number. | 2687 * Get a count before a command. Can only be a number. |
2687 * Returns zero if there is no count. | 2688 * Returns zero if there is no count. |
2688 * Returns -1 if there is something wrong. | 2689 * Returns -1 if there is something wrong. |
2689 */ | 2690 */ |
2705 } | 2706 } |
2706 return 0; | 2707 return 0; |
2707 } | 2708 } |
2708 return atol((char *)p); | 2709 return atol((char *)p); |
2709 } | 2710 } |
2711 #endif | |
2710 | 2712 |
2711 /* | 2713 /* |
2712 * Get the compilation type that should be used for "ufunc". | 2714 * Get the compilation type that should be used for "ufunc". |
2713 * Keep in sync with INSTRUCTIONS(). | 2715 * Keep in sync with INSTRUCTIONS(). |
2714 */ | 2716 */ |