0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.0.1415: warning for unused function without timers feature

Problem:    Warning for unused function without timers feature.
Solution:   Add #ifdef. (John Marriott)
This commit is contained in:
Bram Moolenaar
2017-12-19 19:42:41 +01:00
parent 14a4deb064
commit 4ce46c2a6b
2 changed files with 4 additions and 0 deletions

View File

@@ -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,

View File

@@ -771,6 +771,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1415,
/**/
1414,
/**/