[evolution-ews] Fix build compilation error. This is weird, since it was compile in my local folder, maybe CFLAGS ma



commit e4c17485c89b6dbf97571300d0ca7d6ca4862ad7
Author: Pavel Ocheretny <pocheretny src gnome org>
Date:   Sun Jun 5 10:04:58 2011 +0300

    Fix build compilation error. This is weird, since it was compile in my local
    folder, maybe CFLAGS matter here.

 src/calendar/e-cal-backend-ews.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index 8a06566..f6c894a 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -1683,7 +1683,7 @@ e_cal_backend_ews_send_objects (ECalBackend *backend, EDataCal *cal, EServerMeth
 	ECalBackendEws *cbews;
 	ECalBackendEwsPrivate *priv;
 	icalcomponent_kind kind;
-	icalcomponent *icalcomp, *subcomp;
+	icalcomponent *icalcomp, *subcomp = NULL;
 	GError *error = NULL;
 	icalproperty_method method;
 	//EwsAcceptData *accept_data;
@@ -1712,6 +1712,8 @@ e_cal_backend_ews_send_objects (ECalBackend *backend, EDataCal *cal, EServerMeth
 		goto exit;
 	}
 
+	kind = e_cal_backend_get_kind (E_CAL_BACKEND (backend));
+
 	if (icalcomponent_isa (icalcomp) == ICAL_VCALENDAR_COMPONENT) {
 		kind = e_cal_backend_get_kind (E_CAL_BACKEND (backend));
 		method = icalcomponent_get_method (icalcomp);



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