To: vim_dev@googlegroups.com Subject: Patch 9.0.0689 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0689 Problem: Compiler warning for unused function. Solution: Add #ifdef. (John Marriott) Files: src/vim9compile.c *** ../vim-9.0.0688/src/vim9compile.c 2022-10-07 15:09:24.608804815 +0100 --- src/vim9compile.c 2022-10-07 22:41:56.931810545 +0100 *************** *** 2682,2687 **** --- 2682,2688 ---- return r; } + #ifdef HAS_MESSAGE_WINDOW /* * Get a count before a command. Can only be a number. * Returns zero if there is no count. *************** *** 2707,2712 **** --- 2708,2714 ---- } return atol((char *)p); } + #endif /* * Get the compilation type that should be used for "ufunc". *** ../vim-9.0.0688/src/version.c 2022-10-07 18:51:20.139679475 +0100 --- src/version.c 2022-10-07 22:43:24.167437597 +0100 *************** *** 701,702 **** --- 701,704 ---- { /* Add new patch number below this line */ + /**/ + 689, /**/ -- Even got a Datapoint 3600(?) with a DD50 connector instead of the usual DB25... what a nightmare trying to figure out the pinout for *that* with no spex... /// 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 ///