Alex James has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/31973
Change subject: ich_descriptors_tool: Fix -Wmissing-braces warning ......................................................................
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) {