On Fri, 2018-05-11 at 10:10 -0500, Eric Blake wrote:
> On 05/11/2018 10:01 AM, Andrea Bolognani wrote:
> > Clang 6 doesn't like the way the last item in a GOptionEntry
> > array is initialized:
> > 
> >    ../../tools/osinfo-install-script.c:87:12: error: missing field
> >    'short_name' initializer [-Werror,-Wmissing-field-initializers]
> >        { NULL }
> >               ^
> 
> Does it work without warning with the simpler:
> 
> { 0 }

Yeah, this version works too. I'll respin in a minute.

-- 
Andrea Bolognani / Red Hat / Virtualization

_______________________________________________
Libosinfo mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libosinfo

Reply via email to