projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62b6323
)
softmmu: Silent -Wmissing-field-initializers warning
author
Philippe Mathieu-Daudé
<philmd@linaro.org>
Tue, 20 Dec 2022 10:02:54 +0000
(11:02 +0100)
committer
Philippe Mathieu-Daudé
<philmd@linaro.org>
Mon, 27 Feb 2023 21:29:01 +0000
(22:29 +0100)
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>
softmmu/vl.c
patch
|
blob
|
history
diff --git
a/softmmu/vl.c
b/softmmu/vl.c
index f29e4c4dc3b8eb07871694f5cdba593105c04624..cebe8d9452d68b52d00931e29da28cec6fac26b9 100644
(file)
--- 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 {