Mercurial > vim
changeset 13080:eee366f56b1a v8.0.1415
patch 8.0.1415: warning for unused function without timers feature
commit https://github.com/vim/vim/commit/4ce46c2a6b59586e329fb41ad25799872bffc2c8
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Dec 19 19:42:41 2017 +0100
patch 8.0.1415: warning for unused function without timers feature
Problem: Warning for unused function without timers feature.
Solution: Add #ifdef. (John Marriott)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 19 Dec 2017 19:45:05 +0100 |
parents | de71c1f24efa |
children | 25aefadfcd81 |
files | src/gui.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gui.c +++ b/src/gui.c @@ -2885,6 +2885,7 @@ gui_insert_lines(int row, int count) } } +#ifdef FEAT_TIMERS /* * Passed to ui_wait_for_chars_or_timer(), ignoring extra arguments. */ @@ -2896,6 +2897,7 @@ gui_wait_for_chars_3( { return gui_mch_wait_for_chars(wtime); } +#endif /* * Returns OK if a character was found to be available within the given time,