[Git][NTPsec/ntpsec][master] Address GitLab issue 295: compiler warning (gcc 7.0.1): ntp_loopfilter.c
Eric S. Raymond
gitlab at mg.gitlab.com
Sun May 7 16:02:46 UTC 2017
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
3570afc0 by Eric S. Raymond at 2017-05-07T12:02:33-04:00
Address GitLab issue 295: compiler warning (gcc 7.0.1): ntp_loopfilter.c
Attempt to suppress fallthrough warning assuming GNU warning level 3.
- - - - -
1 changed file:
- ntpd/ntp_loopfilter.c
Changes:
=====================================
ntpd/ntp_loopfilter.c
=====================================
--- a/ntpd/ntp_loopfilter.c
+++ b/ntpd/ntp_loopfilter.c
@@ -609,7 +609,7 @@ local_clock(
clock_frequency = direct_freq(fp_offset);
- /* fall through to EVNT_SPIK */
+ /* falls through to EVNT_SPIK */
/*
* In SPIK state we ignore succeeding outliers until
@@ -620,7 +620,7 @@ local_clock(
if (mu < clock_minstep)
return (0);
- /* fall through to default */
+ /* falls through to default */
/*
* We get here by default in NSET and FSET states and
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/3570afc05d802fa3ae6e53c59affd08bb4b79086
---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/3570afc05d802fa3ae6e53c59affd08bb4b79086
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170507/42fe09bf/attachment.html>
More information about the vc
mailing list