[Git][NTPsec/ntpsec][master] FALLTHRU: yet another try at pacifying gcc 7.1

Gary E. Miller gitlab at mg.gitlab.com
Wed May 10 17:34:36 UTC 2017


Gary E. Miller pushed to branch master at NTPsec / ntpsec


Commits:
87918a65 by Gary E. Miller at 2017-05-10T10:33:59-07:00
FALLTHRU: yet another try at pacifying gcc 7.1

- - - - -


1 changed file:

- ntpd/ntp_loopfilter.c


Changes:

=====================================
ntpd/ntp_loopfilter.c
=====================================
--- a/ntpd/ntp_loopfilter.c
+++ b/ntpd/ntp_loopfilter.c
@@ -608,6 +608,7 @@ local_clock(
 				return (0);
 
 			clock_frequency = direct_freq(fp_offset);
+			__attribute__ ((fallthrough));
 			/* FALLTHRU to EVNT_SPIK */
 
 		/*



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/87918a65e01d0d252f2f182fba895cce1185a686

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/87918a65e01d0d252f2f182fba895cce1185a686
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/20170510/ab56437c/attachment.html>


More information about the vc mailing list