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:
Federico Mena Quintero
2025-05-28 18:08:54 +00:00
committed by Marge Bot
parent ef8c6ff55d
commit 2eec02b76a
+2 -2
View File
@@ -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);