mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
a few more static analyser tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32517 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4b9d324725
commit
3f15443f98
15 changed files with 41 additions and 41 deletions
|
@ -915,7 +915,6 @@ updateTimer(NSTimer *t, NSDate *d, NSTimeInterval now)
|
|||
ti += (increment * add);
|
||||
if (ti < now)
|
||||
{
|
||||
add++;
|
||||
ti += increment;
|
||||
}
|
||||
}
|
||||
|
@ -1099,7 +1098,7 @@ updateTimer(NSTimer *t, NSDate *d, NSTimeInterval now)
|
|||
#endif
|
||||
|
||||
NSDebugMLLog(@"NSRunLoop", @"limit date %f in %@",
|
||||
[when timeIntervalSinceReferenceDate], mode);
|
||||
nil == when ? 0.0 : [when timeIntervalSinceReferenceDate], mode);
|
||||
}
|
||||
return when;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue