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
7c44909da6
commit
8587fc7461
@ -692,9 +692,6 @@ app_load_events (App *app)
|
|||||||
CalendarAppointment *appointment;
|
CalendarAppointment *appointment;
|
||||||
|
|
||||||
appointment = calendar_appointment_new (ical, cal, app->zone);
|
appointment = calendar_appointment_new (ical, cal, app->zone);
|
||||||
if (appointment == NULL)
|
|
||||||
continue;
|
|
||||||
|
|
||||||
calendar_appointment_generate_occurrences (appointment,
|
calendar_appointment_generate_occurrences (appointment,
|
||||||
ical,
|
ical,
|
||||||
cal,
|
cal,
|
||||||
|
Loading…
Reference in New Issue
Block a user