Skip to content

Commit

Permalink
nimble/host: Fix compilation issues observed by enabling -O2 optimiza…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
rahult-github authored and sjanc committed Feb 13, 2024
1 parent 1f559ab commit 768a6c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nimble/host/src/ble_gattc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1509,7 +1509,7 @@ static int
ble_gattc_disc_all_svcs_rx_adata(struct ble_gattc_proc *proc,
struct ble_att_read_group_type_adata *adata)
{
struct ble_gatt_svc service;
struct ble_gatt_svc service = {0};
int cbrc;
int rc;

Expand Down

0 comments on commit 768a6c7

Please sign in to comment.