[evolution-ews] Fix build on Fedora 15 compilation errors
- From: Pavel Ocheretny <pocheretny src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Fix build on Fedora 15 compilation errors
- Date: Wed, 29 Jun 2011 16:08:48 +0000 (UTC)
commit a43dd2fd95ea77532077e6e83664210e493dfa22
Author: Pavel Ocheretny <pocheretny src gnome org>
Date: Wed Jun 29 19:08:02 2011 +0300
Fix build on Fedora 15 compilation errors
src/addressbook/e-book-backend-ews-gal.c | 4 +---
src/calendar/e-cal-backend-ews.c | 2 +-
2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/addressbook/e-book-backend-ews-gal.c b/src/addressbook/e-book-backend-ews-gal.c
index b49bd2f..c2e5e10 100644
--- a/src/addressbook/e-book-backend-ews-gal.c
+++ b/src/addressbook/e-book-backend-ews-gal.c
@@ -248,7 +248,7 @@ ebews_start_sync (gpointer data)
{
EBookBackendEwsGal *cbews;
EBookBackendEwsGalPrivate *priv;
- EwsOALDetails *full;
+ EwsOALDetails *full = NULL;
GError *error = NULL;
EEwsConnection *oab_cnc;
GSList *full_l = NULL;
@@ -580,7 +580,6 @@ e_book_backend_ews_gal_start_book_view (EBookBackend *backend,
GSList *mailboxes = NULL, *l;
GError *error = NULL;
gboolean includes_last_item;
- ESource *source;
ebews = E_BOOK_BACKEND_EWS_GAL (backend);
priv = ebews->priv;
@@ -628,7 +627,6 @@ e_book_backend_ews_gal_start_book_view (EBookBackend *backend,
return;
}
- source = e_book_backend_get_source (backend);
cancellable = g_cancellable_new ();
/* We do not scan until we reach the last_item as it might be good enough to show first 100
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index bd47ea6..b756b15 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -2209,7 +2209,7 @@ add_item_to_cache (ECalBackendEws *cbews, EEwsItem *item, gchar *uid)
if (e_ews_item_get_item_type(item)==E_EWS_ITEM_TYPE_TASK){
icalproperty *icalprop;
icaltimetype due_date, start_date;
- icalproperty_status status;
+ icalproperty_status status = ICAL_STATUS_NONE;
const char *ews_task_status;
vcomp = icalcomponent_new(ICAL_VCALENDAR_COMPONENT);
/*subject*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]