On 21/12/22 02:01, Richard Henderson wrote:
On 12/20/22 06:25, Philippe Mathieu-Daudé wrote:
Silent when compiling with -Wextra:
../hw/arm/nseries.c:1081:12: warning: missing field 'line'
initializer [-Wmissing-field-initializers]
{ NULL }
^
Signed-off-by: Philippe Mathieu-Daudé<phi...@linaro.org>
---
hw/arm/nseries.c | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
Not a fan of this specific warning.
Me neither, and I don't think we can enforce it on QEMU codebase.
However I find '{ /* end of list */ }' cleaner/clearer than assigning
the first field.