[evolution-ews] Fix compile breakage in e_cal_backend_ews_receive_objects()



commit 4e5c0aff1df9ef3feab774930dd5143ea86ba95a
Author: David Woodhouse <David Woodhouse intel com>
Date:   Tue May 24 10:25:00 2011 +0100

    Fix compile breakage in e_cal_backend_ews_receive_objects()
    
    e-cal-backend-ews.c: In function 'e_cal_backend_ews_receive_objects':
    e-cal-backend-ews.c:1504:12: error: variable 'result' set but not used [-Werror=unused-but-set-variable]

 src/calendar/e-cal-backend-ews.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index 7f02879..49660f2 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -1510,6 +1510,8 @@ e_cal_backend_ews_receive_objects(ECalBackend *backend, EDataCal *cal, EServerMe
 			case ICAL_METHOD_REQUEST:
 				result = e_cal_backend_send_accept_item(backend, subcomp);
 				e_data_cal_notify_objects_received (cal,context,error);
+				/* Temporary compile fix until error handling here gets cleaned up... */
+				(void) result;
 				break;
 			case ICAL_METHOD_CANCEL:
 			case ICAL_METHOD_REPLY:



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