Alex James has uploaded this change for review.

View Change

ich_descriptors_tool: Fix -Wmissing-braces warning

This fix is needed for Clang.

Change-Id: I3cbf6bb6bdc34b812c2321c6674051af991362b4
Signed-off-by: Alex James <theracermaster@gmail.com>
---
M util/ich_descriptors_tool/ich_descriptors_tool.c
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/73/31973/1
diff --git a/util/ich_descriptors_tool/ich_descriptors_tool.c b/util/ich_descriptors_tool/ich_descriptors_tool.c
index aa857c8..c71ef79 100644
--- a/util/ich_descriptors_tool/ich_descriptors_tool.c
+++ b/util/ich_descriptors_tool/ich_descriptors_tool.c
@@ -150,7 +150,7 @@
const char *fn = NULL;
const char *csn = NULL;
enum ich_chipset cs = CHIPSET_ICH_UNKNOWN;
- struct ich_descriptors desc = { 0 };
+ struct ich_descriptors desc = {{0}};

while ((opt = getopt(argc, argv, "df:c:")) != -1) {
switch (opt) {

To view, visit change 31973. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I3cbf6bb6bdc34b812c2321c6674051af991362b4
Gerrit-Change-Number: 31973
Gerrit-PatchSet: 1
Gerrit-Owner: Alex James <theracermaster@gmail.com>
Gerrit-MessageType: newchange