mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
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:
parent
0371a825b8
commit
22dd7cd20d
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue