Repository: incubator-mynewt-core
Updated Branches:
  refs/heads/develop 39eecc841 -> 433aab55c


nimble host test; change the way empty struct is initialized to
get this to compile on linux gcc.


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

Branch: refs/heads/develop
Commit: 433aab55c42347bbba92df60ab869d0d6bf81933
Parents: 39eecc8
Author: Marko Kiiskila <[email protected]>
Authored: Tue Jan 10 18:23:49 2017 -0800
Committer: Marko Kiiskila <[email protected]>
Committed: Tue Jan 10 18:23:49 2017 -0800

----------------------------------------------------------------------
 net/nimble/host/test/src/ble_hs_test_util.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/433aab55/net/nimble/host/test/src/ble_hs_test_util.c
----------------------------------------------------------------------
diff --git a/net/nimble/host/test/src/ble_hs_test_util.c 
b/net/nimble/host/test/src/ble_hs_test_util.c
index 070ff86..1470fc6 100644
--- a/net/nimble/host/test/src/ble_hs_test_util.c
+++ b/net/nimble/host/test/src/ble_hs_test_util.c
@@ -6,7 +6,7 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *  http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing,
@@ -2052,7 +2052,7 @@ int
 ble_hs_test_util_num_cccds(void)
 {
     struct ble_store_value_cccd val;
-    struct ble_store_key_cccd key = { 0 };
+    struct ble_store_key_cccd key = { };
     int rc;
 
     key.peer_addr_type = BLE_STORE_ADDR_TYPE_NONE;
@@ -2075,7 +2075,7 @@ int
 ble_hs_test_util_num_our_secs(void)
 {
     struct ble_store_value_sec val;
-    struct ble_store_key_sec key = { 0 };
+    struct ble_store_key_sec key = { };
     int rc;
 
     key.peer_addr_type = BLE_STORE_ADDR_TYPE_NONE;
@@ -2098,7 +2098,7 @@ int
 ble_hs_test_util_num_peer_secs(void)
 {
     struct ble_store_value_sec val;
-    struct ble_store_key_sec key = { 0 };
+    struct ble_store_key_sec key = { };
     int rc;
 
     key.peer_addr_type = BLE_STORE_ADDR_TYPE_NONE;

Reply via email to