diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-09-27 15:46:28 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-09-28 17:17:19 +0200 |
commit | 77daece3d95dc7edaa5982fbbfd7afe3bc4121ac (patch) | |
tree | aab5a1fca887d02f6e5fde7cedb554673afd9c64 /tests/test-io-channel-file.c | |
parent | e6f9678da5371642e237d6d93595dbc11bd17f85 (diff) |
qapi: Inline check_name() into check_union()
check_name() consists of check_name_is_str() and check_name_str().
check_union() relies on the latter to catch optional discriminators.
The next commit will replace that by a more straightforward check.
Inlining check_name() into check_union() now should make that easier
to review.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20190927134639.4284-16-armbru@redhat.com>
Diffstat (limited to 'tests/test-io-channel-file.c')
0 files changed, 0 insertions, 0 deletions