To: vim_dev@googlegroups.com Subject: Patch 8.2.3541 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///