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
1 changed files with 2 additions and 1 deletions

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