summaryrefslogtreecommitdiffstats
path: root/qobject
diff options
context:
space:
mode:
authorMarkus Armbruster2018-08-06 08:53:30 +0200
committerMarkus Armbruster2018-08-16 08:42:06 +0200
commiteac78bd430f357b9d935afaa09355c6fc6a13e3d (patch)
treea08b0dc0c89754942f5470f7695abfc3a03849da /qobject
parentlibqtest: Simplify qmp_fd_vsend() a bit (diff)
downloadqemu-eac78bd430f357b9d935afaa09355c6fc6a13e3d.tar.gz
qemu-eac78bd430f357b9d935afaa09355c6fc6a13e3d.tar.xz
qemu-eac78bd430f357b9d935afaa09355c6fc6a13e3d.zip
test-qobject-input-visitor: Avoid format string ambiguity
When visitor_input_test_init_internal()'s argument @ap is null, then @json_string is interpreted literally, else it's gets %-escapes interpolated. This is awkward. One caller always passes null @ap, and the others never do. Lift the building of the QObject into the callers, where it can be done without such ambiguity. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20180806065344.7103-10-armbru@redhat.com>
Diffstat (limited to 'qobject')
0 files changed, 0 insertions, 0 deletions