Skip to content

Commit e1cd1fd

Browse files
committed
patch 9.1.0067: gcc still complains about use of uninitialized var
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 <[email protected]>
1 parent 83f627f commit e1cd1fd

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/gui_gtk_x11.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1985,7 +1985,7 @@ button_press_event(GtkWidget *widget,
19851985
GdkEventButton *event,
19861986
gpointer data UNUSED)
19871987
{
1988-
int button = 0; // silence gcc
1988+
int button;
19891989
int repeated_click = FALSE;
19901990
int x, y;
19911991
int_u vim_modifiers;
@@ -2056,7 +2056,7 @@ scroll_event(GtkWidget *widget,
20562056
GdkEventScroll *event,
20572057
gpointer data UNUSED)
20582058
{
2059-
int button;
2059+
int button = 0; // silence gcc
20602060
int_u vim_modifiers;
20612061
#if GTK_CHECK_VERSION(3,4,0)
20622062
static double acc_x, acc_y;

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,8 @@ static char *(features[]) =
704704

705705
static int included_patches[] =
706706
{ /* Add new patch number below this line */
707+
/**/
708+
67,
707709
/**/
708710
66,
709711
/**/

0 commit comments

Comments
 (0)