mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
qemuDomainObjBeginJobInternal: Remove spurious @ret assignment
The variable is initialized to -1 already. There's no way it can be overwritten by the time control gets to the line I'm removing. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
parent
dd92df93f4
commit
af0715bb61
@ -6490,7 +6490,6 @@ qemuDomainObjBeginJobInternal(virQEMUDriverPtr driver,
|
||||
else
|
||||
blocker = priv->job.asyncOwnerAPI;
|
||||
|
||||
ret = -1;
|
||||
if (errno == ETIMEDOUT) {
|
||||
if (blocker) {
|
||||
virReportError(VIR_ERR_OPERATION_TIMEOUT,
|
||||
|
Loading…
x
Reference in New Issue
Block a user