You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by st...@apache.org on 2016/12/18 21:56:40 UTC

[12/50] incubator-mynewt-core git commit: BLE ctlr - Fix maybe-uninitialized warning.

BLE ctlr - Fix maybe-uninitialized warning.

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


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/7f8109d3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/7f8109d3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/7f8109d3

Branch: refs/heads/sensors_branch
Commit: 7f8109d3330187668b722d5c53fcfa5258176c08
Parents: c27678e
Author: Christopher Collins <cc...@apache.org>
Authored: Tue Dec 13 15:19:25 2016 -0800
Committer: Sterling Hughes <st...@apache.org>
Committed: Sun Dec 18 13:56:16 2016 -0800

----------------------------------------------------------------------
 net/nimble/controller/src/ble_ll_sched.c | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/7f8109d3/net/nimble/controller/src/ble_ll_sched.c
----------------------------------------------------------------------
diff --git a/net/nimble/controller/src/ble_ll_sched.c b/net/nimble/controller/src/ble_ll_sched.c
index 99b387c..dd42c3f 100644
--- a/net/nimble/controller/src/ble_ll_sched.c
+++ b/net/nimble/controller/src/ble_ll_sched.c
@@ -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);