Avoid wasting a local and giving the compiler a minor aneurysm

qfcc doesn't yet like foo[bar++] = baz; let's be nice and not give it
indigestion.
This commit is contained in:
Jeff Teunissen 2010-12-12 00:16:33 -05:00
parent 0371a825b8
commit 22dd7cd20d

View file

@ -181,7 +181,8 @@
capacity += granularity;
_objs = (id [])obj_realloc (_objs, capacity * @sizeof (id));
}
_objs[count++] = [anObject retain];
_objs[count] = [anObject retain];
count++;
}
- (void) addObjectsFromArray: (Array)array