diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2022-12-20 11:02:54 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-02-27 22:29:01 +0100 |
commit | feea81d8de5c2c5374ab77ab963fa8c045b9fa4e (patch) | |
tree | 5144b7aa0a454376b6f0759f81204c106a0013be /softmmu | |
parent | 62b6323d1cfca6fbe9f875cdb8b96f5cac4658c2 (diff) |
softmmu: Silent -Wmissing-field-initializers warning
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>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20221220143532.24958-4-philmd@linaro.org>
Diffstat (limited to 'softmmu')
-rw-r--r-- | softmmu/vl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/softmmu/vl.c b/softmmu/vl.c index f29e4c4dc3..cebe8d9452 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 { |