mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
avoid some compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31107 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
916036fa6d
commit
50662ad093
8 changed files with 36 additions and 15 deletions
|
@ -958,6 +958,8 @@ updateTimer(NSTimer *t, NSDate *d, NSTimeInterval now)
|
|||
unsigned c;
|
||||
unsigned i;
|
||||
|
||||
ei = 0.0; // Only needed to avoid compiler warning
|
||||
|
||||
/*
|
||||
* Save current time so we don't keep redoing system call to
|
||||
* get it and so that we check timer fire dates against a known
|
||||
|
@ -1005,7 +1007,7 @@ updateTimer(NSTimer *t, NSDate *d, NSTimeInterval now)
|
|||
{
|
||||
GSIArrayRemoveItemAtIndexNoRelease(timers, i);
|
||||
[t fire];
|
||||
GSPrivateNotifyASAP(_currentMode); /* Post notifications. */
|
||||
GSPrivateNotifyASAP(_currentMode);
|
||||
IF_NO_GC([arp emptyPool]);
|
||||
if (updateTimer(t, d, now) == YES)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue