diff options
author | Markus Armbruster <armbru@redhat.com> | 2018-10-17 10:26:54 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2018-10-19 14:51:34 +0200 |
commit | 9338570b7b0b8890269222b7b40e0b819f824dab (patch) | |
tree | 07a2087145543d57d2ae6678091d948f0e8a2a38 /fsdev/qemu-fsdev.h | |
parent | d10e05f15d5c3dd5e5cc59c5dfff460d89d48580 (diff) | |
download | qemu-9338570b7b0b8890269222b7b40e0b819f824dab.zip qemu-9338570b7b0b8890269222b7b40e0b819f824dab.tar.gz qemu-9338570b7b0b8890269222b7b40e0b819f824dab.tar.bz2 |
spice: Clean up error reporting in add_channel()
Calling error_report() in a function that takes an Error ** argument
is suspicious. add_channel() does that, and then exit()s. Its caller
main(), via qemu_opts_foreach(), is fine with it, but clean it up
anyway.
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20181017082702.5581-31-armbru@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'fsdev/qemu-fsdev.h')
0 files changed, 0 insertions, 0 deletions