Skip to content

Commit

Permalink
Merge branch 'nimble/fix_warning' into 'nimble-1.1.0-idf'
Browse files Browse the repository at this point in the history
NimBLE: Fix warning for fall through switch case with xtensa GCC 8 toolchain

See merge request idf/esp-nimble!10
  • Loading branch information
dhrishi committed Jun 20, 2019
2 parents 1a1cbac + 0f030ca commit 4f96f4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nimble/host/mesh/src/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4f96f4c

Please sign in to comment.