From 998671c125fac6fdf894f5e8b4c02ade02417799 Mon Sep 17 00:00:00 2001 From: Werner Zeh Date: Mon, 25 Jan 2016 14:15:43 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/13418 Reviewed-by: Patrick Georgi Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- util/cbfstool/fmaptool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/cbfstool') 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; -- cgit v1.2.3