]> git.proxmox.com Git - mirror_qemu.git/commit
vl: Clean up error reporting in parse_fw_cfg()
authorMarkus Armbruster <armbru@redhat.com>
Wed, 17 Oct 2018 08:26:47 +0000 (10:26 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 19 Oct 2018 12:51:34 +0000 (14:51 +0200)
commit406b6367e19cdaf4ad948c469f82875f8af24ab2
tree3b9469084f6cdc79e3b2078a5b21efb7278c0e94
parent2d5a3a8b02aeed25a46b311abf9088f62ec61d66
vl: Clean up error reporting in parse_fw_cfg()

Calling error_report() in a function that takes an Error ** argument
is suspicious.  parse_fw_cfg() 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: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20181017082702.5581-24-armbru@redhat.com>
vl.c