test: assign array counts to variables in SOGoAppointmentObject

This commit is contained in:
Francis Lachapelle committed 2021-11-16 15:45:48 -05:00
1 parent 8eb255ad61
commit 0622093a37
1 file changed
+2 -1
@@ -2294,7 +2294,8 @@ inRecurrenceExceptionsForEvent: (iCalEvent *) theEvent
// [react on SENT-BY as someone else is acting for the organizer]
//
//
if ([[newEvent attendees] count] || [[oldEvent attendees] count])
int newCount = [[newEvent attendees] count], oldCount = [[oldEvent attendees] count];
if (newCount > 0 || oldCount > 0)
{
BOOL userIsOrganizer;