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:
richard 1998-10-26 20:46:41 +00:00
parent 89f459748a
commit 2e4e69d70f

View file

@ -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];