Patch 8.2.3541

6 views
Skip to first unread message

Bram Moolenaar

unread,
Oct 19, 2021, 3:25:06 PM10/19/21
to vim...@googlegroups.com

Patch 8.2.3541
Problem: Compiler warning for unused variable in tiny version.
Solution: Add #ifdef. (John Marriott)
Files: src/highlight.c


*** ../vim-8.2.3540/src/highlight.c 2021-10-19 13:44:48.721313059 +0100
--- src/highlight.c 2021-10-19 20:22:53.940900159 +0100
***************
*** 1108,1114 ****
--- 1108,1116 ----
int *do_colors UNUSED,
int init)
{
+ # if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS)
long i;
+ # endif
char_u **namep;
int did_change = FALSE;

***************
*** 1175,1181 ****
--- 1177,1185 ----
int *do_colors UNUSED,
int init)
{
+ # if defined(FEAT_GUI) || defined(FEAT_TERMGUICOLORS)
int i;
+ # endif
char_u **namep;
int did_change = FALSE;

*** ../vim-8.2.3540/src/version.c 2021-10-19 20:08:41.455362440 +0100
--- src/version.c 2021-10-19 20:21:17.439350919 +0100
***************
*** 759,760 ****
--- 759,762 ----
{ /* Add new patch number below this line */
+ /**/
+ 3541,
/**/

--
hundred-and-one symptoms of being an internet addict:
202. You're amazed to find out Spam is a food.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages