Skip to content

Commit 4ce46c2

Browse files
committed
patch 8.0.1415: warning for unused function without timers feature
Problem: Warning for unused function without timers feature. Solution: Add #ifdef. (John Marriott)
1 parent 14a4deb commit 4ce46c2

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/gui.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2885,6 +2885,7 @@ gui_insert_lines(int row, int count)
28852885
}
28862886
}
28872887

2888+
#ifdef FEAT_TIMERS
28882889
/*
28892890
* Passed to ui_wait_for_chars_or_timer(), ignoring extra arguments.
28902891
*/
@@ -2896,6 +2897,7 @@ gui_wait_for_chars_3(
28962897
{
28972898
return gui_mch_wait_for_chars(wtime);
28982899
}
2900+
#endif
28992901

29002902
/*
29012903
* Returns OK if a character was found to be available within the given time,

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,8 @@ static char *(features[]) =
771771

772772
static int included_patches[] =
773773
{ /* Add new patch number below this line */
774+
/**/
775+
1415,
774776
/**/
775777
1414,
776778
/**/

0 commit comments

Comments
 (0)