]> git.ipfire.org Git - thirdparty/libvirt.git/commit
openvzDomainMigratePrepare3Params: remove else after goto
authorJán Tomko <jtomko@redhat.com>
Thu, 19 Nov 2020 10:06:56 +0000 (11:06 +0100)
committerJán Tomko <jtomko@redhat.com>
Thu, 19 Nov 2020 14:21:59 +0000 (15:21 +0100)
commit674b961d77e545088e1fc195dd6702e8526a2ca5
tree60e748749ffb99e7256b8764221997fe2146fd0b
parentf0703344251bdeee921baedd6e481b4c7e60a441
openvzDomainMigratePrepare3Params: remove else after goto

We jump to the error label if the 'if' condition is true.
Remove the explicit else to make it more obvious that 'hostname'
is filled on both branches of 'if (!uri_in)'.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
src/openvz/openvz_driver.c