diff options
| author | Alberto Garcia | 2017-08-29 14:08:36 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2017-08-30 12:58:26 +0200 |
| commit | c3a8fe331eb4310e2d058f1c15a817d255840323 (patch) | |
| tree | fe9ebf33e61f89560917abe10d2b037bef471920 /scripts | |
| parent | oslib-posix: Print errors before aborting on qemu_alloc_stack() (diff) | |
| download | qemu-c3a8fe331eb4310e2d058f1c15a817d255840323.tar.gz qemu-c3a8fe331eb4310e2d058f1c15a817d255840323.tar.xz qemu-c3a8fe331eb4310e2d058f1c15a817d255840323.zip | |
misc: Remove unused Error variables
There's a few cases which we're passing an Error pointer to a function
only to discard it immediately afterwards without checking it. In
these cases we can simply remove the variable and pass NULL instead.
Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20170829120836.16091-1-berto@igalia.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
