On 06/07/2017 09:08 AM, Alberto Garcia wrote: > We are using the return value of qcow2_encrypt_sectors() to detect > problems but we are throwing away the returned Error since we have no > way to report it to the user. Therefore we can simply get rid of the > local Error variable and pass NULL instead. > > Alternatively we could try to figure out a way to pass the original > error instead of simply returning -EIO, but that would be more > invasive, so let's keep the current approach. > > Signed-off-by: Alberto Garcia <be...@igalia.com> > --- > block/qcow2-cluster.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-)
Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature