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