From: Alexis La Goutte Date: Fri, 19 May 2017 15:32:06 +0000 (+0200) Subject: interface: fix this statement may fall through [-Wimplicit-fallthrough=] with gcc7 X-Git-Tag: 0.9.8~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6519a50bce856389009df7f64a44e44cc179c6b7;p=thirdparty%2Flldpd.git interface: fix this statement may fall through [-Wimplicit-fallthrough=] with gcc7 --- diff --git a/src/daemon/interfaces.c b/src/daemon/interfaces.c index f0aaccea..d004c70c 100644 --- a/src/daemon/interfaces.c +++ b/src/daemon/interfaces.c @@ -706,6 +706,7 @@ interfaces_send_helper(struct lldpd *cfg, break; } /* Fallback to fixed value */ + /* FALL THROUGH */ case LLDP_BOND_SLAVE_SRC_MAC_TYPE_FIXED: memcpy(src_mac, arbitrary, ETHER_ADDR_LEN); break;