]> Git Repo - qemu.git/commit - vl.c
seccomp: Clean up error reporting in parse_sandbox()
authorMarkus Armbruster <[email protected]>
Wed, 17 Oct 2018 08:26:41 +0000 (10:26 +0200)
committerMarkus Armbruster <[email protected]>
Fri, 19 Oct 2018 12:51:34 +0000 (14:51 +0200)
commit6548459769e5e8b8d23a90ce0adffd067b240059
treef60ffc5b273a74e0f882aae5bedda0ac692708a0
parentfff4c9c32595e71bca3d1a89beb0781a5be2201b
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 <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Marc-AndrĂ© Lureau <[email protected]>
Acked-by: Eduardo Otubo <[email protected]>
Message-Id: <20181017082702[email protected]>
qemu-seccomp.c
vl.c
This page took 0.025425 seconds and 4 git commands to generate.