Fix warnings produced by latest gcc

This commit is contained in:
Miroslav Lichvar
2011-02-15 18:55:34 +01:00
parent 680612cf09
commit 896dad9224
7 changed files with 20 additions and 14 deletions

View File

@@ -363,7 +363,7 @@ schedule_fb_drift(struct timeval *now)
UTI_DiffTimevalsToDouble(&unsynchronised, now, &last_ref_update);
for (c = 0, i = fb_drift_min; i <= fb_drift_max; i++) {
for (c = secs = 0, i = fb_drift_min; i <= fb_drift_max; i++) {
secs = 1 << i;
if (fb_drifts[i - fb_drift_min].secs < secs)