mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-22 11:55:24 +00:00
iCalTrigger: fix initialization of variable
This commit is contained in:
@@ -59,6 +59,7 @@
|
||||
NSTimeInterval anInterval;
|
||||
id grandParent;
|
||||
|
||||
nextAlarmDate = nil;
|
||||
triggerValue = [[self valueType] uppercaseString];
|
||||
if ([triggerValue length] == 0)
|
||||
triggerValue = @"DURATION";
|
||||
@@ -88,8 +89,6 @@
|
||||
}
|
||||
else if ([triggerValue isEqualToString: @"DATE-TIME"])
|
||||
nextAlarmDate = [[self flattenedValuesForKey: @""] asCalendarDate];
|
||||
else
|
||||
nextAlarmDate = nil;
|
||||
|
||||
return nextAlarmDate;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user