From 61070e6ec013a2413d2320f105de987fb40fb14b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 7 Jul 2016 15:52:43 +0200 Subject: [PATCH] calendar-server: Remove an unnecessary check calendar_appointment_new() never returns %NULL, so no need to check for it. --- src/calendar-server/gnome-shell-calendar-server.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/calendar-server/gnome-shell-calendar-server.c b/src/calendar-server/gnome-shell-calendar-server.c index 10e00f3f0..7874c40ec 100644 --- a/src/calendar-server/gnome-shell-calendar-server.c +++ b/src/calendar-server/gnome-shell-calendar-server.c @@ -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,