Remove unused variable

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/550>
This commit is contained in:
Federico Mena Quintero
2025-08-27 19:59:58 -03:00
committed by Georges Basile Stavracas Neto
parent 2ca29785dc
commit ba69d04465
+1 -2
View File
@@ -450,7 +450,7 @@ gcal_schedule_section_set_event (GcalEventEditorSection *section,
GDateTime* date_time_end = NULL;
GcalRecurrenceLimitType limit_type;
GcalRecurrenceFrequency frequency;
gboolean all_day, new_event;
gboolean all_day;
GcalTimeFormat time_format;
GcalScheduleValues *values;
g_autoptr (WidgetState) state = NULL;
@@ -470,7 +470,6 @@ gcal_schedule_section_set_event (GcalEventEditorSection *section,
GCAL_RETURN ();
all_day = values->all_day;
new_event = flags & GCAL_EVENT_EDITOR_FLAG_NEW_EVENT;
state = widget_state_from_values (values);
update_widgets (self, state);