diff options
author | Markus Armbruster <armbru@redhat.com> | 2017-02-28 22:26:54 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-03-07 16:07:47 +0100 |
commit | 99dbfd1db1110f579f47b40155b9bf750d2cd6ad (patch) | |
tree | 8916e2a33a9a7c53f72fbff8f7df6d0fb61a74f2 /tests/test-qobject-input-visitor.c | |
parent | e3934b429760d788458d02bc4cad57d1c6a46ce7 (diff) | |
download | qemu-99dbfd1db1110f579f47b40155b9bf750d2cd6ad.zip |
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>
Diffstat (limited to 'tests/test-qobject-input-visitor.c')
-rw-r--r-- | tests/test-qobject-input-visitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-qobject-input-visitor.c b/tests/test-qobject-input-visitor.c index 32ba492a1a..36cc4b539e 100644 --- a/tests/test-qobject-input-visitor.c +++ b/tests/test-qobject-input-visitor.c @@ -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) { |