Skip to content

Commit

Permalink
nimble/ll: silence compiler warning in ble_ll_iso_big_event_done
Browse files Browse the repository at this point in the history
Silences error: 'hci_ev_ncp' may be used uninitialized: it is derived
from hci_ev, and only used when hci_ev != NULL. So it'll never be NULL
when used.
  • Loading branch information
KKopyscinski committed Oct 17, 2023
1 parent d20c010 commit 60dcd0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nimble/controller/src/ble_ll_iso_big.c
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ ble_ll_iso_big_event_done(struct ble_ll_iso_big *big)
{
struct ble_ll_iso_bis *bis;
struct ble_hci_ev *hci_ev;
struct ble_hci_ev_num_comp_pkts *hci_ev_ncp;
struct ble_hci_ev_num_comp_pkts *hci_ev_ncp = NULL;
int num_completed_pkt;
int rc;

Expand Down

0 comments on commit 60dcd0f

Please sign in to comment.