mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
qobject: Propagate parse errors through qobject_from_jsonv()
The next few commits will put the errors to use where appropriate. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <1488317230-26248-9-git-send-email-armbru@redhat.com>
This commit is contained in:
parent
e3934b4297
commit
99dbfd1db1
4 changed files with 12 additions and 7 deletions
|
|
@ -51,7 +51,7 @@ static Visitor *visitor_input_test_init_internal(TestInputVisitorData *data,
|
|||
{
|
||||
visitor_input_teardown(data, NULL);
|
||||
|
||||
data->obj = qobject_from_jsonv(json_string, ap);
|
||||
data->obj = qobject_from_jsonv(json_string, ap, NULL);
|
||||
g_assert(data->obj);
|
||||
|
||||
if (keyval) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue