To: vim_dev@googlegroups.com Subject: Patch 8.0.1415 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.1415 Problem: Warning for unused function without timers feature. Solution: Add #ifdef. (John Marriott) Files: src/gui.c *** ../vim-8.0.1414/src/gui.c 2017-12-19 10:02:39.065335099 +0100 --- src/gui.c 2017-12-19 19:36:11.916614057 +0100 *************** *** 2885,2890 **** --- 2885,2891 ---- } } + #ifdef FEAT_TIMERS /* * Passed to ui_wait_for_chars_or_timer(), ignoring extra arguments. */ *************** *** 2896,2901 **** --- 2897,2903 ---- { return gui_mch_wait_for_chars(wtime); } + #endif /* * Returns OK if a character was found to be available within the given time, *** ../vim-8.0.1414/src/version.c 2017-12-19 16:48:50.926397195 +0100 --- src/version.c 2017-12-19 19:37:28.688085514 +0100 *************** *** 773,774 **** --- 773,776 ---- { /* Add new patch number below this line */ + /**/ + 1415, /**/ -- There are three kinds of persons: Those who can count and those who can't. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///