]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: eliminate useless error label in virDomainFeaturesDefParse()
authorLaine Stump <laine@redhat.com>
Fri, 19 Jun 2020 03:00:47 +0000 (23:00 -0400)
committerLaine Stump <laine@redhat.com>
Sun, 5 Jul 2020 03:58:53 +0000 (23:58 -0400)
commit59afd0b0bcbbefd65fd8c171d73db207828c8b18
tree6af4c0a3208d43dcb6558b7219a7cb16ff139720
parentab9fd53823483975adb0cb7d46e03f647c7f3b57
conf: eliminate useless error label in virDomainFeaturesDefParse()

The error: label in this function just does "return -1", so replace
all the "goto error" in the function with "return -1".

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/domain_conf.c