summaryrefslogtreecommitdiffstats
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-04-30 22:51:01 +0200
committerBram Moolenaar <Bram@vim.org>2020-04-30 22:51:01 +0200
commit9e175141f3437627c314257ebf894c29c71a9ded (patch)
tree788b4fabb9b76cf9638e9b59cd34517b95fbcbe6 /src/gui.c
parent6adb9ea0a6ca01414f4b591f379b0f829a8273c0 (diff)
patch 8.2.0671: Haiku: compiler warningsv8.2.0671
Problem: Haiku: compiler warnings. Solution: Avoid the warnings. Drop display_errors() copy. (Emir Sari, closes #6018)
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui.c b/src/gui.c
index 5959043279..13b65cb03c 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -5107,7 +5107,8 @@ gui_find_iconfile(char_u *name, char_u *buffer, char *ext)
# endif
#endif
-#if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_X11) || defined(PROTO)
+#if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_X11)|| defined(FEAT_GUI_HAIKU) \
+ || defined(PROTO)
void
display_errors(void)
{