From 2eec02b76a06b87fa289656c858a51fedaedec95 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Tue, 27 May 2025 20:46:29 -0600 Subject: [PATCH] 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: --- src/gui/views/gcal-month-view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/views/gcal-month-view.c b/src/gui/views/gcal-month-view.c index 18ecb5ec..57cf1764 100644 --- a/src/gui/views/gcal-month-view.c +++ b/src/gui/views/gcal-month-view.c @@ -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);