diff options
author | Markus Armbruster | 2018-10-17 10:26:45 +0200 |
---|---|---|
committer | Markus Armbruster | 2018-10-19 14:51:34 +0200 |
commit | 702832b8c0444fd3ea703ab494e9e955ce0433b1 (patch) | |
tree | 4fa410bcba16fba8c041db90488e4b74d18c726b /ui/sdl.c | |
parent | vl: Clean up error reporting in chardev_init_func() (diff) | |
download | qemu-702832b8c0444fd3ea703ab494e9e955ce0433b1.tar.gz qemu-702832b8c0444fd3ea703ab494e9e955ce0433b1.tar.xz qemu-702832b8c0444fd3ea703ab494e9e955ce0433b1.zip |
vl: Clean up error reporting in machine_set_property()
Calling error_report() in a function that takes an Error ** argument
is suspicious. machine_set_property() 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.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20181017082702.5581-22-armbru@redhat.com>
Diffstat (limited to 'ui/sdl.c')
0 files changed, 0 insertions, 0 deletions