]> Git Repo - qemu.git/commit - qapi/qobject-input-visitor.c
qapi: Make QObject input visitor set *list reliably
authorMarkus Armbruster <[email protected]>
Fri, 3 Mar 2017 12:32:33 +0000 (13:32 +0100)
committerMarkus Armbruster <[email protected]>
Sun, 5 Mar 2017 08:14:19 +0000 (09:14 +0100)
commit58561c27669ddf1c6d39ff8ce25837c6f2d9d92c
tree72a7c7d472374cfb994cc9e2dd79484168eea744
parentb8874fbfd329b5084463bcacd1418d493a93c383
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 <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Message-Id: <1488544368[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
qapi/qobject-input-visitor.c
This page took 0.025202 seconds and 4 git commands to generate.