Skip to content

Commit

Permalink
nimble/host: fix gcc 13 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Lapshin authored and sjanc committed Jul 26, 2023
1 parent e2065a6 commit 65f32e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nimble/host/src/ble_gap.c
Original file line number Diff line number Diff line change
Expand Up @@ -6461,6 +6461,9 @@ ble_gap_preempt_done(void)
void *arg;
} slaves[BLE_ADV_INSTANCES];

master_cb = NULL;
master_arg = NULL;

disc_preempted = 0;

/* Protects slaves from accessing by multiple threads */
Expand Down

0 comments on commit 65f32e5

Please sign in to comment.