mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-10 16:20:42 +00:00
make checker happy
This commit is contained in:
parent
dcd3b8c5a9
commit
db8b06b47c
1 changed files with 9 additions and 7 deletions
16
Tools/gdnc.m
16
Tools/gdnc.m
|
@ -775,7 +775,7 @@ ihandler(int sig)
|
|||
NSMutableArray *byName;
|
||||
NSMutableArray *byObject;
|
||||
unsigned pos;
|
||||
GDNCNotification *notification = nil;
|
||||
GDNCNotification *notification;
|
||||
|
||||
byName = [observersForNames objectForKey: notificationName];
|
||||
byObject = [observersForObjects objectForKey: notificationObject];
|
||||
|
@ -806,15 +806,17 @@ ihandler(int sig)
|
|||
}
|
||||
}
|
||||
|
||||
if ([observers count] == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
/*
|
||||
* Build notification object to queue for observer.
|
||||
*/
|
||||
if ([observers count] > 0)
|
||||
{
|
||||
notification = [GDNCNotification notificationWithName: notificationName
|
||||
object: notificationObject
|
||||
data: d];
|
||||
}
|
||||
notification = [GDNCNotification notificationWithName: notificationName
|
||||
object: notificationObject
|
||||
data: d];
|
||||
|
||||
/*
|
||||
* Add the object to the queue for this observer depending on suspension
|
||||
|
|
Loading…
Reference in a new issue