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

@@ -867,6 +867,8 @@ filter_slew_samples(struct MedianFilter *filter, struct timeval *when, double df
#if 0
LOG(LOGS_INFO, LOGF_Refclock, "i=%d old_off=%.9f new_off=%.9f",
i, prev_offset, filter->samples[i].offset);
#else
(void)prev_offset;
#endif
}
}