summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Zeh <werner.zeh@siemens.com>2016-01-25 14:15:43 +0100
committerWerner Zeh <werner.zeh@siemens.com>2016-01-26 06:48:15 +0100
commit998671c125fac6fdf894f5e8b4c02ade02417799 (patch)
tree61c3f5ecda893d678e060f398b3012cda7dff42f
parented7275f2c34e17585c59ecbcabaa813afc20aac0 (diff)
downloadcoreboot-998671c125fac6fdf894f5e8b4c02ade02417799.tar.gz
coreboot-998671c125fac6fdf894f5e8b4c02ade02417799.tar.bz2
coreboot-998671c125fac6fdf894f5e8b4c02ade02417799.zip
cbfstool: Fix compile issue for older gcc versions
gcc 4.4.7 fails to compile due to the missing initializers for all struct members. Add initializers for all fields. Change-Id: If1ad4fff0f965ccd7e821820c0703853c1e5c590 Signed-off-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-on: https://review.coreboot.org/13418 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
-rw-r--r--util/cbfstool/fmaptool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cbfstool/fmaptool.c b/util/cbfstool/fmaptool.c
index c3b4a673a1c5..1eda82262e09 100644
--- a/util/cbfstool/fmaptool.c
+++ b/util/cbfstool/fmaptool.c
@@ -126,7 +126,7 @@ int main(int argc, char **argv)
// Optional
const char *header_filename;
const char *region_filename;
- } args = {NULL};
+ } args = {NULL, NULL, NULL, NULL};
bool show_usage = false;
int each_arg;