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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
src/conf/domain_conf.c | 91 ++++++++++++++++++++----------------------
1 file changed, 44 insertions(+), 47 deletions(-)


Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx>

Jano

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux