[evolution-data-server] Remove unused code and assignment



commit 7b26ea010408f658373c657c01200b2d29a558eb
Author: Kjartan Maraas <kmaraas gnome org>
Date:   Fri Sep 25 22:07:29 2009 +0200

    Remove unused code and assignment

 calendar/libecal/e-cal-component.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/calendar/libecal/e-cal-component.c b/calendar/libecal/e-cal-component.c
index ab3e26c..af556dd 100644
--- a/calendar/libecal/e-cal-component.c
+++ b/calendar/libecal/e-cal-component.c
@@ -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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]