patch 9.1.0066: gcc complains about use of uninitialized var
Problem: gcc complains about use of uninitialized var
(Tony Mechelynck, after 9.1.0064)
Solution: initialize button to silence gcc
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index 1871237..a62b39c 100644
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -1985,7 +1985,7 @@
GdkEventButton *event,
gpointer data UNUSED)
{
- int button;
+ int button = 0; // silence gcc
int repeated_click = FALSE;
int x, y;
int_u vim_modifiers;