You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2017/02/10 00:21:57 UTC

[6/6] incubator-mynewt-core git commit: kernel/os; get rid of a warning when compiling os_msys_init.c when there are no memory pools defined.

kernel/os; get rid of a warning when compiling os_msys_init.c when
there are no memory pools defined.


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

Branch: refs/heads/develop
Commit: 35b0a91b195a29c31523ef5cb1d2da3431c2937b
Parents: 0f880ef
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Thu Feb 9 16:00:05 2017 -0800
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Thu Feb 9 16:00:05 2017 -0800

----------------------------------------------------------------------
 kernel/os/src/os_msys_init.c | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/35b0a91b/kernel/os/src/os_msys_init.c
----------------------------------------------------------------------
diff --git a/kernel/os/src/os_msys_init.c b/kernel/os/src/os_msys_init.c
index b47ea55..8a27f33 100644
--- a/kernel/os/src/os_msys_init.c
+++ b/kernel/os/src/os_msys_init.c
@@ -100,6 +100,7 @@ os_msys_init(void)
 {
     os_msys_reset();
 
+    (void)os_msys_init_once;
 #if MYNEWT_VAL(MSYS_1_BLOCK_COUNT) > 0
     os_msys_init_once(os_msys_init_1_data,
                       &os_msys_init_1_mempool,