Message ID | 20221220143532.24958-4-philmd@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | accel: Silent few -Wmissing-field-initializers warning | expand |
On Tue, Dec 20, 2022 at 03:35:32PM +0100, Philippe Mathieu-Daudé wrote: > Silent when compiling with -Wextra: > > ../softmmu/vl.c:886:12: warning: missing field 'flags' initializer [-Wmissing-field-initializers] > { NULL }, > ^ > > Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> > --- > softmmu/vl.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> With regards, Daniel
diff --git a/softmmu/vl.c b/softmmu/vl.c index 798e1dc933..12c56d3b37 100644 --- a/softmmu/vl.c +++ b/softmmu/vl.c @@ -883,7 +883,7 @@ static const QEMUOption qemu_options[] = { #define ARCHHEADING(text, arch_mask) #include "qemu-options.def" - { NULL }, + { /* end of list */ } }; typedef struct VGAInterfaceInfo {
Silent when compiling with -Wextra: ../softmmu/vl.c:886:12: warning: missing field 'flags' initializer [-Wmissing-field-initializers] { NULL }, ^ Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- softmmu/vl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)