[PATCH 06/25] conf: eliminate useless error label in virDomainFeaturesDefParse()

Ján Tomko jtomko at redhat.com
Thu Jun 25 23:00:44 UTC 2020


On a Wednesday in 2020, Laine Stump wrote:
>The error: label in this function just does "return -1", so replace
>all the "goto error" in the function with "return -1".
>

I split this out from virDomainDefParse quickly as a build breaker fix
and forgot to follow up with this cleanup.

>Signed-off-by: Laine Stump <laine at redhat.com>
>---
> src/conf/domain_conf.c | 91 ++++++++++++++++++++----------------------
> 1 file changed, 44 insertions(+), 47 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200626/c41478a3/attachment-0001.sig>


More information about the libvir-list mailing list