Remove unused code and assignment
authorKjartan Maraas <kmaraas@gnome.org>
Fri, 25 Sep 2009 20:07:29 +0000 (22:07 +0200)
committerKjartan Maraas <kmaraas@gnome.org>
Fri, 25 Sep 2009 20:07:29 +0000 (22:07 +0200)
calendar/libecal/e-cal-component.c

index ab3e26c..af556dd 100644 (file)
@@ -569,10 +569,6 @@ scan_attendee (GSList **attendee_list, icalproperty *prop)
 static void
 scan_datetime (ECalComponent *comp, struct datetime *datetime, icalproperty *prop)
 {
-       ECalComponentPrivate *priv;
-
-       priv = comp->priv;
-
        datetime->prop = prop;
        datetime->tzid_param = icalproperty_get_first_parameter (prop, ICAL_TZID_PARAMETER);
 }
@@ -3952,8 +3948,6 @@ e_cal_component_has_simple_recurrence (ECalComponent *comp)
                        if (nth < 1 && nth != -1)
                                goto cleanup;
 
-                       simple = TRUE;
-
                } else if (n_by_day == 1) {
                        enum icalrecurrencetype_weekday weekday;
                        gint pos;