Skip to content

Commit

Permalink
patch 8.0.1415: warning for unused function without timers feature
Browse files Browse the repository at this point in the history
Problem:    Warning for unused function without timers feature.
Solution:   Add #ifdef. (John Marriott)
  • Loading branch information
brammool committed Dec 19, 2017
1 parent 14a4deb commit 4ce46c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui.c
Expand Up @@ -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.
*/
Expand All @@ -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,
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -771,6 +771,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1415,
/**/
1414,
/**/
Expand Down

0 comments on commit 4ce46c2

Please sign in to comment.