mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-06-06 05:14:45 +00:00
nimble/ll: Suppress compiler warning
ble_error is not used in some configurations so just suppress compiler warning (instead of #ifdef so we don't need to worry about it anymore).
This commit is contained in:
@@ -1954,6 +1954,9 @@ ble_ll_ctrl_rx_reject_ind(struct ble_ll_conn_sm *connsm, uint8_t *dptr,
|
||||
ble_error = dptr[1];
|
||||
}
|
||||
|
||||
/* Suppress unused-but-set if not used by following code (due to syscfg) */
|
||||
(void)ble_error;
|
||||
|
||||
/* XXX: should I check to make sure the rejected opcode is sane
|
||||
if we receive ind ext? */
|
||||
switch (connsm->cur_ctrl_proc) {
|
||||
|
||||
Reference in New Issue
Block a user