mirror of
https://github.com/gnustep/libs-ec.git
synced 2025-02-19 01:51:03 +00:00
fix compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/ec/trunk@35757 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8a6842b7b9
commit
9701a19501
5 changed files with 17 additions and 8 deletions
|
@ -35,7 +35,10 @@
|
|||
#define EC_BASE_CLASS EcCommand
|
||||
#endif
|
||||
|
||||
@class EC_BASE_CLASS;
|
||||
/* Create a fake interface to satisfy compiler ...
|
||||
*/
|
||||
@interface EC_BASE_CLASS : EcProcess
|
||||
@end
|
||||
|
||||
void
|
||||
inner_main()
|
||||
|
|
|
@ -35,7 +35,10 @@
|
|||
#define EC_BASE_CLASS EcConsole
|
||||
#endif
|
||||
|
||||
@class EC_BASE_CLASS;
|
||||
/* Create a fake interface to satisfy compiler ...
|
||||
*/
|
||||
@interface EC_BASE_CLASS : EcProcess
|
||||
@end
|
||||
|
||||
void
|
||||
inner_main()
|
||||
|
|
|
@ -35,7 +35,10 @@
|
|||
#define EC_BASE_CLASS EcControl
|
||||
#endif
|
||||
|
||||
@class EC_BASE_CLASS;
|
||||
/* Create a fake interface to satisfy compiler ...
|
||||
*/
|
||||
@interface EC_BASE_CLASS : EcProcess
|
||||
@end
|
||||
|
||||
void
|
||||
inner_main()
|
||||
|
|
|
@ -913,7 +913,6 @@ static NSString* cmdWord(NSArray* a, unsigned int pos)
|
|||
for (i = 0; i < [a count]; i++)
|
||||
{
|
||||
EcClientI *c = [a objectAtIndex: i];
|
||||
BOOL found = NO;
|
||||
|
||||
NS_DURING
|
||||
{
|
||||
|
@ -956,7 +955,7 @@ static NSString* cmdWord(NSArray* a, unsigned int pos)
|
|||
}
|
||||
}
|
||||
}
|
||||
if (found == NO)
|
||||
if (NO == found)
|
||||
{
|
||||
m = [NSString stringWithFormat:
|
||||
@"Nothing to shut down as '%@'\n", wd];
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
|
||||
*/
|
||||
|
||||
#import <Foundation/NSDictionary.h>
|
||||
#import <Foundation/NSInvocation.h>
|
||||
#import <Foundation/NSLock.h>
|
||||
#import <Foundation/NSMethodSignature.h>
|
||||
|
@ -299,9 +300,9 @@ static NSLock *lock = nil;
|
|||
|
||||
- (BOOL) setCommand: (id)val forKey: (NSString*)key
|
||||
{
|
||||
NSDictionary *old = [self volatileDomainForName: @"EcCommand"];
|
||||
NSDictionary *new = nil;
|
||||
NSString *pre = [self defaultsPrefix];
|
||||
NSDictionary *old = [self volatileDomainForName: @"EcCommand"];
|
||||
NSMutableDictionary *new = nil;
|
||||
NSString *pre = [self defaultsPrefix];
|
||||
|
||||
/* Make sure prefix is used if we have one set.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue