mirror of
https://github.com/darlinghq/darling-dbuskit.git
synced 2024-11-23 12:19:40 +00:00
Fix incorrect return statement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/dbuskit/trunk@32948 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b77ed7bdb1
commit
43cf5d8fe5
@ -1,3 +1,7 @@
|
||||
2011-04-29 Niels Grewe <niels.grewe@halbordnung.de>
|
||||
|
||||
* Source/DKNotificationCenter.m: Fix incorrect return statement.
|
||||
|
||||
2011-04-18 Niels Grewe <niels.grewe@halbordnung.de>
|
||||
|
||||
* Source/DKNotificationCenter.m: Move handling errors on watch
|
||||
|
@ -1365,9 +1365,10 @@ static DKEndpointManager *manager;
|
||||
- (BOOL)_registerNotificationName: (NSString*)notificationName
|
||||
asSignal: (DKSignal*)signal
|
||||
{
|
||||
BOOL retVal = NO;
|
||||
if ((nil == notificationName) || (nil == signal))
|
||||
{
|
||||
return NO;
|
||||
return retVal;
|
||||
}
|
||||
[lock lock];
|
||||
NS_DURING
|
||||
@ -1393,7 +1394,7 @@ static DKEndpointManager *manager;
|
||||
}
|
||||
NS_ENDHANDLER
|
||||
[lock unlock];
|
||||
return YES;
|
||||
retVal = YES;
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -1410,7 +1411,7 @@ static DKEndpointManager *manager;
|
||||
}
|
||||
NS_ENDHANDLER
|
||||
[lock unlock];
|
||||
return NO;
|
||||
return retVal;
|
||||
}
|
||||
|
||||
- (BOOL)registerNotificationName: (NSString*)notificationName
|
||||
|
Loading…
Reference in New Issue
Block a user