From 1458599cf31b3fa8136fbd7bffd89f1cd97951c9 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 81a683194..455893354 100644 --- a/nimble/host/mesh/src/net.c +++ b/nimble/host/mesh/src/net.c @@ -534,8 +534,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);