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