BLE ctlr - Fix maybe-uninitialized warning.

This warning was only getting reported with the "debug" profile (-O1).

X-Original-Commit: 0ad8062089ca3d0525b7b1bd471ae2d67a9b589c
This commit is contained in:
Christopher Collins
2016-12-13 15:19:25 -08:00
parent 1a42c7d0ea
commit 183cb6f0e4
+1
View File
@@ -565,6 +565,7 @@ ble_ll_sched_adv_reschedule(struct ble_ll_sched_item *sch, uint32_t *start,
sch->end_time += max_delay_ticks;
start_overlap = NULL;
end_overlap = NULL;
before = NULL;
rc = 0;
OS_ENTER_CRITICAL(sr);