]> git.ipfire.org Git - thirdparty/libvirt.git/commit
remote: DeserializeDomainDiskErrors: remove dead code
authorJán Tomko <jtomko@redhat.com>
Tue, 19 Dec 2023 15:46:53 +0000 (16:46 +0100)
committerJán Tomko <jtomko@redhat.com>
Tue, 19 Dec 2023 16:07:29 +0000 (17:07 +0100)
commit49f1406de814db6eec62d02096332059647ec5ad
treea37dff43f45607b69de3c36dcb4c3c453a87c2f3
parent405f479d0e2905ff0ed3c53a55930e9640ad0769
remote: DeserializeDomainDiskErrors: remove dead code

As of commit b2d079c113a which converted this function to use g_strdup,
the error label is only reached when i = 0, rendering it useless.

Remove it.

Fixes: https://gitlab.com/libvirt/libvirt/-/issues/572
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/remote/remote_driver.c