You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/12/13 23:19:59 UTC

incubator-mynewt-core git commit: BLE ctlr - Fix maybe-uninitialized warning.

Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/develop 916b333d9 -> 0ad806208


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/0ad80620
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/0ad80620
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/0ad80620

Branch: refs/heads/develop
Commit: 0ad8062089ca3d0525b7b1bd471ae2d67a9b589c
Parents: 916b333
Author: Christopher Collins <cc...@apache.org>
Authored: Tue Dec 13 15:19:25 2016 -0800
Committer: Christopher Collins <cc...@apache.org>
Committed: Tue Dec 13 15:19:25 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/0ad80620/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);