summaryrefslogtreecommitdiffstats
path: root/src/gui_gtk_x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_gtk_x11.c')
-rw-r--r--src/gui_gtk_x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index 187123739e..a62b39c090 100644
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -1985,7 +1985,7 @@ button_press_event(GtkWidget *widget,
GdkEventButton *event,
gpointer data UNUSED)
{
- int button;
+ int button = 0; // silence gcc
int repeated_click = FALSE;
int x, y;
int_u vim_modifiers;