# HG changeset patch # User Christian Brabandt # Date 1513709105 -3600 # Node ID eee366f56b1a74cf7952d2e652a0321234d7ad16 # Parent de71c1f24efa4d9fbda5a0ed5c5813d7e5bcd767 patch 8.0.1415: warning for unused function without timers feature commit https://github.com/vim/vim/commit/4ce46c2a6b59586e329fb41ad25799872bffc2c8 Author: Bram Moolenaar 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) diff --git a/src/gui.c b/src/gui.c --- 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, diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -772,6 +772,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1415, +/**/ 1414, /**/ 1413,