summaryrefslogtreecommitdiffstats
path: root/include/qapi/visitor.h
diff options
context:
space:
mode:
authorMarkus Armbruster2017-03-03 13:32:33 +0100
committerMarkus Armbruster2017-03-05 09:14:19 +0100
commit58561c27669ddf1c6d39ff8ce25837c6f2d9d92c (patch)
tree72a7c7d472374cfb994cc9e2dd79484168eea744 /include/qapi/visitor.h
parentqapi: Clean up after commit 3d344c2 (diff)
downloadqemu-58561c27669ddf1c6d39ff8ce25837c6f2d9d92c.tar.gz
qemu-58561c27669ddf1c6d39ff8ce25837c6f2d9d92c.tar.xz
qemu-58561c27669ddf1c6d39ff8ce25837c6f2d9d92c.zip
qapi: Make QObject input visitor set *list reliably
qobject_input_start_struct() sets *list, except when it fails because qobject_input_get_object() fails, i.e. the input object doesn't exist. All the other input visitor start_struct(), start_list(), start_alternate() always set *obj / *list. Change qobject_input_start_struct() to match. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <1488544368-30622-14-git-send-email-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'include/qapi/visitor.h')
0 files changed, 0 insertions, 0 deletions