summaryrefslogtreecommitdiff
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-12-19 19:42:41 +0100
committerBram Moolenaar <Bram@vim.org>2017-12-19 19:42:41 +0100
commit4ce46c2a6b59586e329fb41ad25799872bffc2c8 (patch)
tree7357bf6159a04fe63267e51a8e2344d901c2beb5 /src/gui.c
parent14a4deb064610c30a50f00d524dde9b3292aad59 (diff)
downloadvim-git-4ce46c2a6b59586e329fb41ad25799872bffc2c8.tar.gz
patch 8.0.1415: warning for unused function without timers featurev8.0.1415
Problem: Warning for unused function without timers feature. Solution: Add #ifdef. (John Marriott)
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c2
1 files changed, 2 insertions, 0 deletions
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,