# HG changeset patch # User Christian Brabandt # Date 1706730303 -3600 # Node ID d4d230cdfbcaa0b860b500823a39bf3b7e9962e2 # Parent 2d13a3713a05556ab5dab766c5e675f62f3d171c patch 9.1.0066: gcc complains about use of uninitialized var Commit: https://github.com/vim/vim/commit/f2fb7dd3d3bb94fc51347c25d2829bb0a80c8719 Author: Christian Brabandt Date: Wed Jan 31 20:29:07 2024 +0100 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 --- 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 --- a/src/version.c +++ b/src/version.c @@ -705,6 +705,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 66, +/**/ 65, /**/ 64,