]> xenbits.xensource.com Git - libvirt.git/commit
virStorageBackendLogicalParseVolExtents: Remove 'cleanup' and 'ret'
authorPeter Krempa <pkrempa@redhat.com>
Wed, 4 Aug 2021 10:21:22 +0000 (12:21 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 6 Aug 2021 06:53:26 +0000 (08:53 +0200)
commit51733511d152400be1b918fa034034d6754ed946
treead8718b75cc28bc162acf643277fdf2900724af5
parente03e54c9a282fab22623da82458f3773c77881dc
virStorageBackendLogicalParseVolExtents: Remove 'cleanup' and 'ret'

The function was inconsistently using 'return -1' and 'goto cleanup;'
unify it by removing the cleanup label and 'ret' variable.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/storage/storage_backend_logical.c