mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
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 <cb@256bit.org>
This commit is contained in:
parent
ece7145689
commit
f2fb7dd3d3
@ -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;
|
||||
|
@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
66,
|
||||
/**/
|
||||
65,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user