mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:25:07 -05:00
Fix warnings produced by latest gcc
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user