qapi: Drop one of two "simple union must not have base" checks
commit65fbe125451da9421070ab03944c9600a264eefc
authorMarkus Armbruster <armbru@redhat.com>
Mon, 31 Aug 2015 13:37:42 +0000 (31 15:37 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 4 Sep 2015 13:47:16 +0000 (4 15:47 +0200)
tree1150b463d7d82dced46cce947c4fe9cbc08e54b3
parent3a864e7c52af15017d5082a9ee39a7919f46d2b5
qapi: Drop one of two "simple union must not have base" checks

The first check ensures the second one can't trigger.  Drop the first
one, because the second one is in a more logical place, and emits a
nicer error message.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
scripts/qapi.py
tests/qapi-schema/union-base-no-discriminator.err