Michal Privoznik wrote:
On 03/11/2018 04:38 PM, Roman Bogorodskiy wrote:
> Clang 6.0.0 complains when initializing structure with { NULL }:
>
> conf/domain_addr.c:1494:38: error: missing field 'type' initializer
[-Werror,-Wmissing-field-initializers]
> virDomainDeviceInfo nfo = { NULL };
>
> Use { 0 } instead to make it happy.
> ---
> src/conf/domain_addr.c | 2 +-
> tests/sysinfotest.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
ACK
Pushed, thanks!
Michal
Roman Bogorodskiy