To: vim_dev@googlegroups.com Subject: Patch 9.0.1116 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.1116 (after 9.0.1111) Problem: Compiler may complain about an unused function. Solution: Add #ifdef. (John Marriott) Files: src/term.c *** ../vim-9.0.1115/src/term.c 2022-12-30 11:15:56.462953467 +0000 --- src/term.c 2022-12-30 19:54:33.830727168 +0000 *************** *** 1678,1683 **** --- 1678,1684 ---- }; #endif + #if defined(HAVE_TGETENT) || defined(FEAT_TERMGUICOLORS) /* * Return TRUE if "term_strings[idx]" was not set. */ *************** *** 1686,1691 **** --- 1687,1693 ---- { return TERM_STR(idx) == NULL || TERM_STR(idx) == empty_option; } + #endif #ifdef HAVE_TGETENT /* *** ../vim-9.0.1115/src/version.c 2022-12-30 18:07:41.694107568 +0000 --- src/version.c 2022-12-30 19:54:09.250735371 +0000 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 1116, /**/ -- Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us. (Calvin) /// 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 ///