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:
Richard Frith-MacDonald 2010-08-10 10:38:50 +00:00
parent 916036fa6d
commit 50662ad093
8 changed files with 36 additions and 15 deletions

View file

@ -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)
{