Re: [Qemu-devel] [PATCH v3 10/16] qapi: Permit omitting all flat union branches

2019-09-23 Thread Markus Armbruster
Eric Blake writes: > On 9/13/19 3:13 PM, Markus Armbruster wrote: >> Absent flat union branches default to the empty struct (since commit >> 800877bb16 "qapi: allow empty branches in flat unions"). But am > > s/am/an/ Will fix, thanks! >> attempt to omit all of them is rejected with "Union

Re: [Qemu-devel] [PATCH v3 10/16] qapi: Permit omitting all flat union branches

2019-09-17 Thread Eric Blake
On 9/13/19 3:13 PM, Markus Armbruster wrote: > Absent flat union branches default to the empty struct (since commit > 800877bb16 "qapi: allow empty branches in flat unions"). But am s/am/an/ > attempt to omit all of them is rejected with "Union 'FOO' has no > branches". Harmless oddity, but

[Qemu-devel] [PATCH v3 10/16] qapi: Permit omitting all flat union branches

2019-09-13 Thread Markus Armbruster
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