mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
calendar-server: Remove an unnecessary check
calendar_appointment_new() never returns %NULL, so no need to check for it.
This commit is contained in:
parent
128697d6a7
commit
61070e6ec0
1 changed files with 0 additions and 3 deletions
|
|
@ -692,9 +692,6 @@ app_load_events (App *app)
|
|||
CalendarAppointment *appointment;
|
||||
|
||||
appointment = calendar_appointment_new (ical, cal, app->zone);
|
||||
if (appointment == NULL)
|
||||
continue;
|
||||
|
||||
calendar_appointment_generate_occurrences (appointment,
|
||||
ical,
|
||||
cal,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue