]> xenbits.xensource.com Git - libvirt.git/commit
util: storage: Simplify error handling in virStorageAuthDefParseXML
authorPeter Krempa <pkrempa@redhat.com>
Tue, 6 Mar 2018 13:03:27 +0000 (14:03 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 8 Mar 2018 13:29:49 +0000 (14:29 +0100)
commit74942ff0b64140377723c01c4003be2861339fb9
treedefa13e3a8ac527c56f0d1eae07a34bcf8bf20a8
parentb932ed69f6664f42e211bdde84c8ab04e1f19033
util: storage: Simplify error handling in virStorageAuthDefParseXML

Unify the cleanup and error paths and simplify the code flow by removing
some unnecessary variables.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
src/util/virstoragefile.c