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 | |
parent | f47ebf1e1a0a6473b10fb4c92c9c6427aab4dc91 (diff) | |
download | vim-git-8.2.3541.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)
-rw-r--r-- | src/highlight.c | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 6 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; diff --git a/src/version.c b/src/version.c index c430ff170..b4e342d3b 100644 --- a/src/version.c +++ b/src/version.c @@ -758,6 +758,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3541, +/**/ 3540, /**/ 3539, |