mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Bugfix - check for nil in init
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3121 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
89f459748a
commit
2e4e69d70f
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ myEqual(NSObject *self, NSObject *other)
|
|||
int i;
|
||||
FastMapInitWithZoneAndCapacity(&map, fastZone(self), c);
|
||||
for (i = 0; i < c; i++) {
|
||||
FastMapNode node = FastMapNodeForKey(&map, (FastMapItem)keys[i]);
|
||||
FastMapNode node;
|
||||
|
||||
if (keys[i] == nil) {
|
||||
[self autorelease];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue