mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 14:33:52 +01:00
Merge pull request #7111 from cgundogan/pr/ndp_fallthrough
ndp: warn gcc-7 about intentional fall-through
This commit is contained in:
commit
c3843122dd
@ -105,7 +105,8 @@ void gnrc_ndp_internal_set_state(gnrc_ipv6_nc_t *nc_entry, uint8_t state)
|
||||
DEBUG("REACHABLE (reachable time = %" PRIu32 " us)\n", ipv6_iface->reach_time);
|
||||
t = ipv6_iface->reach_time;
|
||||
|
||||
/* we intentionally fall through here to set the desired timeout t */
|
||||
/* Falls through. */
|
||||
/* this is intentional to set the desired timeout t */
|
||||
case GNRC_IPV6_NC_STATE_DELAY:
|
||||
#if ENABLE_DEBUG
|
||||
if (state == GNRC_IPV6_NC_STATE_DELAY) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user