mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-10 16:20:42 +00:00
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:
parent
b662140e16
commit
ec6e3d6f54
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue