[Git][NTPsec/ntpsec][master] Remove placeholder code, gcc's flow analysis got smarter in 5.4.0.
Eric S. Raymond
gitlab at mg.gitlab.com
Fri Oct 7 05:21:29 UTC 2016
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
592315de by Eric S. Raymond at 2016-10-07T01:21:16-04:00
Remove placeholder code, gcc's flow analysis got smarter in 5.4.0.
- - - - -
1 changed file:
- ntpd/ntp_config.c
Changes:
=====================================
ntpd/ntp_config.c
=====================================
--- a/ntpd/ntp_config.c
+++ b/ntpd/ntp_config.c
@@ -2127,12 +2127,6 @@ config_nic_rules(
switch (curr_node->match_class) {
default:
- /*
- * this assignment quiets a gcc "may be used
- * uninitialized" warning and is here for no
- * other reason.
- */
- match_type = MATCH_ALL;
INSIST(false);
break;
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/592315de0c0c6703b691d72744a54c31cf031e95
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161007/9eeea809/attachment.html>
More information about the vc
mailing list