diff options
author | Markus Armbruster <armbru@redhat.com> | 2018-10-17 10:26:41 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2018-10-19 14:51:34 +0200 |
commit | 6548459769e5e8b8d23a90ce0adffd067b240059 (patch) | |
tree | f60ffc5b273a74e0f882aae5bedda0ac692708a0 /hw/ipack | |
parent | fff4c9c32595e71bca3d1a89beb0781a5be2201b (diff) |
seccomp: Clean up error reporting in parse_sandbox()
Calling error_report() in a function that takes an Error ** argument
is suspicious. parse_sandbox() 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.
Cc: Eduardo Otubo <otubo@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Eduardo Otubo <otubo@redhat.com>
Message-Id: <20181017082702.5581-18-armbru@redhat.com>
Diffstat (limited to 'hw/ipack')
0 files changed, 0 insertions, 0 deletions