gui/views/month-view: Initialize two variables
The static analizer can't figure out that they will always be initialized by the for loop in this function. Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/581>
This commit is contained in:
committed by
Marge Bot
parent
ef8c6ff55d
commit
2eec02b76a
@@ -1397,8 +1397,8 @@ gcal_month_view_measure (GtkWidget *widget,
|
||||
GcalMonthView *self;
|
||||
gint natural_header_size;
|
||||
gint minimum_header_size;
|
||||
gint minimum_row_size;
|
||||
gint natural_row_size;
|
||||
gint minimum_row_size = 0;
|
||||
gint natural_row_size = 0;
|
||||
|
||||
self = GCAL_MONTH_VIEW (widget);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user