From: Christian Brabandt Date: Wed, 31 Jan 2024 19:29:07 +0000 (+0100) Subject: patch 9.1.0066: gcc complains about use of uninitialized var X-Git-Tag: v9.1.0066^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2fb7dd3d3bb94fc51347c25d2829bb0a80c8719;p=thirdparty%2Fvim.git 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 --- 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; diff --git a/src/version.c b/src/version.c index b361a9caa0..d12d4e1083 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 66, /**/ 65, /**/