diff options
| author | Markus Armbruster <armbru@redhat.com> | 2018-08-06 08:53:30 +0200 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2018-08-16 08:42:06 +0200 |
| commit | eac78bd430f357b9d935afaa09355c6fc6a13e3d (patch) | |
| tree | a08b0dc0c89754942f5470f7695abfc3a03849da /hw/misc/mst_fpga.c | |
| parent | 69f0cb661a9284045464619f24ceaa8771c0a212 (diff) | |
| download | focaccia-qemu-eac78bd430f357b9d935afaa09355c6fc6a13e3d.tar.gz focaccia-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 'hw/misc/mst_fpga.c')
0 files changed, 0 insertions, 0 deletions