diff options
author | Christian Brabandt <cb@256bit.org> | 2024-01-31 20:29:07 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-01-31 20:29:07 +0100 |
commit | f2fb7dd3d3bb94fc51347c25d2829bb0a80c8719 (patch) | |
tree | 600512579a9434b509681d69e0656b64cb67fa65 /src | |
parent | ece71456897cd3f38d6979c8a31401ce94c03d14 (diff) |
patch 9.1.0066: gcc complains about use of uninitialized varv9.1.0066
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/gui_gtk_x11.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 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; diff --git a/src/version.c b/src/version.c index b361a9caa0..d12d4e1083 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 */ /**/ + 66, +/**/ 65, /**/ 64, |