From: Bram Moolenaar Date: Tue, 19 Dec 2017 18:42:41 +0000 (+0100) Subject: patch 8.0.1415: warning for unused function without timers feature X-Git-Tag: v8.0.1415 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4ce46c2a6b59586e329fb41ad25799872bffc2c8;p=vim 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 index 916c9befc..3456f9246 100644 --- 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 index cba8fcfc0..7b2f89a77 100644 --- a/src/version.c +++ b/src/version.c @@ -771,6 +771,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1415, /**/ 1414, /**/