aboutsummaryrefslogtreecommitdiff
path: root/qom
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2018-10-17 10:26:42 +0200
committerMarkus Armbruster <armbru@redhat.com>2018-10-19 14:51:34 +0200
commit6353218b8c54dc6be6abb01c07a087add07ee5ce (patch)
tree89f288a0929a8b864c53b619104209fa9cb25ad9 /qom
parent6548459769e5e8b8d23a90ce0adffd067b240059 (diff)
downloadqemu-6353218b8c54dc6be6abb01c07a087add07ee5ce.zip
qemu-6353218b8c54dc6be6abb01c07a087add07ee5ce.tar.gz
qemu-6353218b8c54dc6be6abb01c07a087add07ee5ce.tar.bz2
vl: Clean up error reporting in parse_add_fd()
Calling error_report() in a function that takes an Error ** argument is suspicious. parse_add_fd() does that, and then fails without setting an error. Its caller main(), via qemu_opts_foreach(), is fine with it, but clean it up anyway. Also change call of cleanup_add_fd(), which can't fail, for symmetry. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20181017082702.5581-19-armbru@redhat.com>
Diffstat (limited to 'qom')
0 files changed, 0 insertions, 0 deletions