On 9/10/19 1:37 AM, Markus Armbruster wrote: > Absent flat union branches default to the empty struct (since commit > 800877bb16 "qapi: allow empty branches in flat unions"). But am > attempt to omit all of them is rejected with "Union 'FOO' has no > branches". Harmless oddity, but it's easy to avoid, so do that. > > Signed-off-by: Markus Armbruster > --- Reviewed-by: Eric Blake -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org