From 41e8ae96955cc9ae705c19fe4511933194bc7076 Mon Sep 17 00:00:00 2001 From: Hrishikesh Dhayagude Date: Thu, 20 Jun 2019 14:56:11 +0800 Subject: [PATCH] NimBLE: Fix warning for fall through switch case with xtensa GCC 8 toolchain --- nimble/host/mesh/src/net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nimble/host/mesh/src/net.c b/nimble/host/mesh/src/net.c index 240314d45..4e04a7613 100644 --- a/nimble/host/mesh/src/net.c +++ b/nimble/host/mesh/src/net.c @@ -530,8 +530,8 @@ bool bt_mesh_kr_update(struct bt_mesh_subnet *sub, u8_t new_kr, bool new_key) * immediately transition to Phase 3, which effectively skips * Phase 2. * - * Intentional fall-through. */ + /* falls through */ case BT_MESH_KR_PHASE_2: BT_DBG("KR Phase 0x%02x -> Normal", sub->kr_phase); bt_mesh_net_revoke_keys(sub);