mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
avoid a few warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34665 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
92ae73861f
commit
ad0ba98491
6 changed files with 67 additions and 44 deletions
|
@ -1276,9 +1276,9 @@ static NSNotificationCenter *default_center = nil;
|
|||
GSNotification *notification;
|
||||
|
||||
notification = (id)NSAllocateObject(concrete, 0, NSDefaultMallocZone());
|
||||
name = notification->_name = [name copyWithZone: [self zone]];
|
||||
object = notification->_object = TEST_RETAIN(object);
|
||||
notification->_info = TEST_RETAIN(info);
|
||||
notification->_name = [name copyWithZone: [self zone]];
|
||||
notification->_object = [object retain];
|
||||
notification->_info = [info retain];
|
||||
[self _postAndRelease: notification];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue