mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
fixups for libobjc2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29753 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
145a5670bf
commit
14b91c9052
67 changed files with 328 additions and 253 deletions
|
@ -1029,7 +1029,7 @@ otherTime(NSDate* other)
|
|||
o = [concreteClass allocWithZone: NSDefaultMallocZone()];
|
||||
o = [o initWithTimeIntervalSinceReferenceDate: interval];
|
||||
}
|
||||
RELEASE(self);
|
||||
DESTROY(self);
|
||||
return o;
|
||||
}
|
||||
|
||||
|
@ -1054,7 +1054,7 @@ otherTime(NSDate* other)
|
|||
d = [d initWithString: description];
|
||||
if (d == nil)
|
||||
{
|
||||
RELEASE(self);
|
||||
DESTROY(self);
|
||||
return nil;
|
||||
}
|
||||
else
|
||||
|
@ -1074,7 +1074,7 @@ otherTime(NSDate* other)
|
|||
if (anotherDate == nil)
|
||||
{
|
||||
NSLog(@"initWithTimeInterval:sinceDate: given nil date");
|
||||
RELEASE(self);
|
||||
DESTROY(self);
|
||||
return nil;
|
||||
}
|
||||
// Get the other date's time, add the secs and init thyself
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue