the -init method should return nil

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29381 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2010-01-24 06:53:49 +00:00
parent b662140e16
commit ec6e3d6f54

View file

@ -297,11 +297,11 @@ callUncaughtHandler(id value)
_e_stack = [GSStackTraceClass new];
return self;
}
- (id) init
{
return [self initWithName: NSGenericException
reason: @"No reason"
userInfo: nil];
[self release]; // OSX behavior
return nil;
}
- (NSArray*) callStackReturnAddresses