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/10/12 22:07:04 UTC
incubator-mynewt-core git commit: Minor formatting change.
Repository: incubator-mynewt-core
Updated Branches:
refs/heads/develop b4ee0378c -> 4f69b161c
Minor formatting change.
I am only committing this to see if the apache git server pushes the
change to the github mirror.
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/4f69b161
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/4f69b161
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/4f69b161
Branch: refs/heads/develop
Commit: 4f69b161cfadbea95b9c8f49beb9c1c5b5ea5864
Parents: b4ee037
Author: Christopher Collins <cc...@apache.org>
Authored: Wed Oct 12 15:06:36 2016 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Wed Oct 12 15:06:36 2016 -0700
----------------------------------------------------------------------
mgmt/imgmgr/src/imgmgr_state.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/4f69b161/mgmt/imgmgr/src/imgmgr_state.c
----------------------------------------------------------------------
diff --git a/mgmt/imgmgr/src/imgmgr_state.c b/mgmt/imgmgr/src/imgmgr_state.c
index 9bba7aa..ca8a46a 100644
--- a/mgmt/imgmgr/src/imgmgr_state.c
+++ b/mgmt/imgmgr/src/imgmgr_state.c
@@ -294,9 +294,7 @@ imgmgr_state_write(struct mgmt_jbuf *njb)
.addr.boolean = &confirm,
.dflt.boolean = false,
},
- [2] = {
- .attribute = NULL
- },
+ [2] = { 0 },
};
rc = json_read_object(&njb->mjb_buf, write_attr);