mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-11 00:30:49 +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];
|
_e_stack = [GSStackTraceClass new];
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (id) init
|
- (id) init
|
||||||
{
|
{
|
||||||
return [self initWithName: NSGenericException
|
[self release]; // OSX behavior
|
||||||
reason: @"No reason"
|
return nil;
|
||||||
userInfo: nil];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSArray*) callStackReturnAddresses
|
- (NSArray*) callStackReturnAddresses
|
||||||
|
|
Loading…
Reference in a new issue