[evolution-data-server] Initialize the old object when updating objects



commit 1bbca226bec189b84e8a11cdef2763a452c62d2a
Author: Ross Burton <ross linux intel com>
Date:   Mon Jun 22 08:57:45 2009 +0100

    Initialize the old object when updating objects

 calendar/backends/file/e-cal-backend-file.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/calendar/backends/file/e-cal-backend-file.c b/calendar/backends/file/e-cal-backend-file.c
index d66cf4e..c3a4fb3 100644
--- a/calendar/backends/file/e-cal-backend-file.c
+++ b/calendar/backends/file/e-cal-backend-file.c
@@ -2632,7 +2632,7 @@ e_cal_backend_file_receive_objects (ECalBackendSync *backend, EDataCal *cal, con
 	/* Now we manipulate the components we care about */
 	for (l = comps; l; l = l->next) {
 		const gchar *uid;
-		gchar *object, *old_object, *rid, *new_object;
+		gchar *object, *old_object = NULL, *rid, *new_object;
 		ECalBackendFileObject *obj_data;
 		gboolean is_declined;
 



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