aboutsummaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2018-08-06 08:53:30 +0200
committerMarkus Armbruster <armbru@redhat.com>2018-08-16 08:42:06 +0200
commiteac78bd430f357b9d935afaa09355c6fc6a13e3d (patch)
treea08b0dc0c89754942f5470f7695abfc3a03849da /io
parent69f0cb661a9284045464619f24ceaa8771c0a212 (diff)
downloadqemu-eac78bd430f357b9d935afaa09355c6fc6a13e3d.zip
qemu-eac78bd430f357b9d935afaa09355c6fc6a13e3d.tar.gz
qemu-eac78bd430f357b9d935afaa09355c6fc6a13e3d.tar.bz2
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 'io')
0 files changed, 0 insertions, 0 deletions