mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Don't return values from methods returning void.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17502 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
03b11f3e7b
commit
c9bb4eebda
5 changed files with 21 additions and 13 deletions
|
@ -2101,10 +2101,10 @@ static void setPollfd(int fd, int event, GSRunLoopCtxt *ctxt)
|
|||
- (void) addPort: (NSPort*)port
|
||||
forMode: (NSString*)mode
|
||||
{
|
||||
return [self addEvent: (void*)port
|
||||
type: ET_RPORT
|
||||
watcher: (id<RunLoopEvents>)port
|
||||
forMode: (NSString*)mode];
|
||||
[self addEvent: (void*)port
|
||||
type: ET_RPORT
|
||||
watcher: (id<RunLoopEvents>)port
|
||||
forMode: (NSString*)mode];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -2256,7 +2256,7 @@ static void setPollfd(int fd, int event, GSRunLoopCtxt *ctxt)
|
|||
- (void) removePort: (NSPort*)port
|
||||
forMode: (NSString*)mode
|
||||
{
|
||||
return [self removeEvent: (void*)port type: ET_RPORT forMode: mode all: NO];
|
||||
[self removeEvent: (void*)port type: ET_RPORT forMode: mode all: NO];
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue