[evolution-data-server] Compiler warning fix



commit 8ce49da1e073e3cdce4355adee40d0348bc2f100
Author: Milan Crha <mcrha redhat com>
Date:   Mon Oct 26 12:52:03 2009 +0100

    Compiler warning fix

 calendar/backends/file/e-cal-backend-file.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/calendar/backends/file/e-cal-backend-file.c b/calendar/backends/file/e-cal-backend-file.c
index 59b6252..258bb6a 100644
--- a/calendar/backends/file/e-cal-backend-file.c
+++ b/calendar/backends/file/e-cal-backend-file.c
@@ -2529,6 +2529,7 @@ remove_instance (ECalBackendFile *cbfile, ECalBackendFileObject *obj_data, const
 {
 	gchar *hash_rid;
 	ECalComponent *comp;
+	struct icaltimetype current;
 
 	if (!rid || !*rid)
 		return;
@@ -2554,8 +2555,8 @@ remove_instance (ECalBackendFile *cbfile, ECalBackendFileObject *obj_data, const
 				     icaltime_from_string (rid), CALOBJ_MOD_THIS);
 
 	/* Since we are only removing one instance of recurrence
-       event, update the last modified time on the component */
-	struct icaltimetype current = icaltime_current_time_with_zone (icaltimezone_get_utc_timezone ());
+	   event, update the last modified time on the component */
+	current = icaltime_current_time_with_zone (icaltimezone_get_utc_timezone ());
 	e_cal_component_set_last_modified (obj_data->full_object, &current);
 
 	/* add the modified object to the beginning of the list,



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