diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-10-19 20:24:34 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-10-19 20:24:34 +0100 |
commit | 731fba1081079d5c0251fca2626043ce6e86b1f2 (patch) | |
tree | 87b790f4586f6a7e8ad516e364edb55dd22d4b5e /src/highlight.c | |
parent | f47ebf1e1a0a6473b10fb4c92c9c6427aab4dc91 (diff) | |
download | vim-git-731fba1081079d5c0251fca2626043ce6e86b1f2.tar.gz |
patch 8.2.3541: compiler warning for unused variable in tiny versionv8.2.3541
Problem: Compiler warning for unused variable in tiny version.
Solution: Add #ifdef. (John Marriott)
Diffstat (limited to 'src/highlight.c')
-rw-r--r-- | src/highlight.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/highlight.c b/src/highlight.c index a964acda8..76d9a7e82 100644 --- a/src/highlight.c +++ b/src/highlight.c @@ -1108,7 +1108,9 @@ highlight_set_guifg( int *do_colors UNUSED, int init) { +# if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS) long i; +# endif char_u **namep; int did_change = FALSE; @@ -1175,7 +1177,9 @@ highlight_set_guibg( int *do_colors UNUSED, int init) { +# if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS) int i; +# endif char_u **namep; int did_change = FALSE; |