mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 22:25:25 +00:00
xend_internal.c: Remove two dead stores to "ret"
* src/xend_internal.c (xenDaemonCreateXML): Don't set "ret" after last use.
This commit is contained in:
parent
6f91c5b5ea
commit
e2cd26ee70
@ -4028,10 +4028,10 @@ xenDaemonCreateXML(virConnectPtr conn, const char *xmlDesc,
|
||||
if (!(dom = virDomainLookupByName(conn, def->name)))
|
||||
goto error;
|
||||
|
||||
if ((ret = xend_wait_for_devices(conn, def->name)) < 0)
|
||||
if (xend_wait_for_devices(conn, def->name) < 0)
|
||||
goto error;
|
||||
|
||||
if ((ret = xenDaemonDomainResume(dom)) < 0)
|
||||
if (xenDaemonDomainResume(dom) < 0)
|
||||
goto error;
|
||||
|
||||
virDomainDefFree(def);
|
||||
|
Loading…
Reference in New Issue
Block a user