diff --git a/ChangeLog b/ChangeLog index 261bce841..0d31f1778 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2009-01-21 Wolfgang Sourdeau + * SoObjects/Appointments/SOGoAppointmentFolder.m + ([SOGoAppointmentFolder -fixupRecord:_record]): removed the unused + isAllDay local variable. + ([SOGoAppointmentFolder -fixupRecords:records]): removed the + unused "fetchRange:" argument. + * SoObjects/SOGo/SOGoGCSFolder.m ([SOGoGCSFolder +folderWithSubscriptionReference:referenceinContainer:aContainer]): same as below. diff --git a/SoObjects/Appointments/SOGoAppointmentFolder.m b/SoObjects/Appointments/SOGoAppointmentFolder.m index 6ceb9f970..61c08a612 100644 --- a/SoObjects/Appointments/SOGoAppointmentFolder.m +++ b/SoObjects/Appointments/SOGoAppointmentFolder.m @@ -557,9 +557,6 @@ static Class sogoAppointmentFolderKlass = Nil; unsigned int count; NSCalendarDate *date; NSNumber *dateValue; - BOOL isAllDay; - - isAllDay = [[_record objectForKey: @"c_isallday"] boolValue]; md = [[_record mutableCopy] autorelease]; for (count = 0; count < 2; count++) @@ -582,7 +579,6 @@ static Class sogoAppointmentFolderKlass = Nil; } - (NSArray *) fixupRecords: (NSArray *) records - fetchRange: (NGCalendarDateRange *) r { // TODO: is the result supposed to be sorted by date? NSMutableArray *ma; @@ -1003,7 +999,7 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir if (records) { if (r) - records = [self fixupRecords: records fetchRange: r]; + records = [self fixupRecords: records]; if (logger) [self debugWithFormat: @"fetched %i records: %@", [records count], records];