aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2018-07-03 10:53:52 +0200
committerMarkus Armbruster <armbru@redhat.com>2018-07-03 23:18:56 +0200
commit7cb2123f226a88fddcb9a3673c658c818ee6daed (patch)
tree7d166fe930e0804e603e69cfbdde7052203207db /.travis.yml
parent1816604b62f4c5ac1032374a941638f2fe199104 (diff)
downloadqemu-7cb2123f226a88fddcb9a3673c658c818ee6daed.zip
qemu-7cb2123f226a88fddcb9a3673c658c818ee6daed.tar.gz
qemu-7cb2123f226a88fddcb9a3673c658c818ee6daed.tar.bz2
qmp: Simplify monitor_qmp_respond()
monitor_qmp_respond() takes both a response object and an error object. If an error object is non-null, the response object must be null, and the response is built from the error object. Of the two callers, one always passes a null response object, and one a null error object. Move building the response object from the error object to the latter, and drop the error object parameter. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20180703085358.13941-27-armbru@redhat.com>
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions