bluetooth: Fix a fallthrough warning
It fixes: ../../../../include/toolchain/gcc.h:169:30: warning: statement will never be executed [-Wswitch-unreachable] 169 | #define __fallthrough __attribute__((fallthrough)) Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
e1e4a402e2
commit
9337b782d1
1 changed files with 1 additions and 2 deletions
|
@ -752,9 +752,8 @@ void ll_rx_dequeue(void)
|
|||
|
||||
#if defined(CONFIG_BT_CTLR_USER_EXT)
|
||||
case NODE_RX_TYPE_USER_START ... NODE_RX_TYPE_USER_END:
|
||||
#endif /* CONFIG_BT_CTLR_USER_EXT */
|
||||
|
||||
__fallthrough;
|
||||
#endif /* CONFIG_BT_CTLR_USER_EXT */
|
||||
|
||||
/* Ensure that at least one 'case' statement is present for this
|
||||
* code block.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue