mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
avoid compiler warning
This commit is contained in:
parent
7dfdabd675
commit
c3b208a85a
1 changed files with 7 additions and 4 deletions
|
@ -786,6 +786,9 @@ static inline BOOL timerInvalidated(NSTimer *t)
|
|||
NSInvocation *inv;
|
||||
NSTimer *timer;
|
||||
SEL sel;
|
||||
#ifdef RL_INTEGRATE_DISPATCH
|
||||
GSMainQueueDrainer *drain;
|
||||
#endif
|
||||
|
||||
ctr = [NSNotificationCenter defaultCenter];
|
||||
not = [NSNotification notificationWithName: @"GSHousekeeping"
|
||||
|
@ -808,10 +811,10 @@ static inline BOOL timerInvalidated(NSTimer *t)
|
|||
[current addTimer: timer forMode: NSDefaultRunLoopMode];
|
||||
|
||||
#ifdef RL_INTEGRATE_DISPATCH
|
||||
// We leak the queue drainer, because it's integral part of RL
|
||||
// operations
|
||||
GSMainQueueDrainer *drain =
|
||||
[NSObject leak: [[GSMainQueueDrainer new] autorelease]];
|
||||
/* We leak the queue drainer, because it's integral part of RL
|
||||
* operations
|
||||
*/
|
||||
drain = [NSObject leak: [[GSMainQueueDrainer new] autorelease]];
|
||||
[current addEvent: [GSMainQueueDrainer mainQueueFileDescriptor]
|
||||
#ifdef _WIN32
|
||||
type: ET_HANDLE
|
||||
|
|
Loading…
Reference in a new issue