diff options
author | Christian Brabandt <cb@256bit.org> | 2024-01-31 22:10:50 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-01-31 22:12:57 +0100 |
commit | e1cd1fda6990d612bd8f27d78f4f5d747c2dc537 (patch) | |
tree | 118f2e53b500b0692b3c4e61b01d403a3b469918 /src | |
parent | 83f627ff42a3da94db1299493b2cd1133c179850 (diff) |
patch 9.1.0067: gcc still complains about use of uninitialized varv9.1.0067
Problem: gcc still complains about use of uninitialized var
((Tony Mechelynck, after 9.1.0064/9.1.0066))
Solution: This time init the correct variable
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/gui_gtk_x11.c | 4 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c index a62b39c090..dd0179ee05 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 = 0; // silence gcc + int button; int repeated_click = FALSE; int x, y; int_u vim_modifiers; @@ -2056,7 +2056,7 @@ scroll_event(GtkWidget *widget, GdkEventScroll *event, gpointer data UNUSED) { - int button; + int button = 0; // silence gcc int_u vim_modifiers; #if GTK_CHECK_VERSION(3,4,0) static double acc_x, acc_y; diff --git a/src/version.c b/src/version.c index d12d4e1083..c866d09386 100644 --- 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 */ /**/ + 67, +/**/ 66, /**/ 65, |