]> git.proxmox.com Git - mirror_qemu.git/commit - dump.c
misc: Remove unused Error variables
authorAlberto Garcia <berto@igalia.com>
Tue, 29 Aug 2017 12:08:36 +0000 (15:08 +0300)
committerStefan Hajnoczi <stefanha@redhat.com>
Wed, 30 Aug 2017 10:58:26 +0000 (11:58 +0100)
commitc3a8fe331eb4310e2d058f1c15a817d255840323
treefe9ebf33e61f89560917abe10d2b037bef471920
parente916a6e88a4ff6c39cd6f62fb162a561c6b89de8
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>
block/qcow.c
block/qcow2.c
dump.c