diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-09-13 22:13:35 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-09-24 14:07:22 +0200 |
commit | dcca907bed4707f8fa8bbfdd9eef741fdaad29f8 (patch) | |
tree | f857ae231dcf61bea1d742d825f372b1e02a20bc /docs | |
parent | b1862ee6233805172bab89a1fc44e929dcdbd9fa (diff) | |
download | qemu-dcca907bed4707f8fa8bbfdd9eef741fdaad29f8.zip qemu-dcca907bed4707f8fa8bbfdd9eef741fdaad29f8.tar.gz qemu-dcca907bed4707f8fa8bbfdd9eef741fdaad29f8.tar.bz2 |
qapi: Drop check_type()'s redundant parameter @allow_optional
check_type() uses @allow_optional only when @value is a dictionary and
@allow_dict is True. All callers that pass allow_dict=True also pass
allow_optional=True.
Therefore, @allow_optional is always True when check_type() uses it.
Drop the redundant parameter.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20190913201349.24332-3-armbru@redhat.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions