mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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:
@@ -6490,7 +6490,6 @@ qemuDomainObjBeginJobInternal(virQEMUDriverPtr driver,
|
||||
else
|
||||
blocker = priv->job.asyncOwnerAPI;
|
||||
|
||||
ret = -1;
|
||||
if (errno == ETIMEDOUT) {
|
||||
if (blocker) {
|
||||
virReportError(VIR_ERR_OPERATION_TIMEOUT,
|
||||
|
||||
Reference in New Issue
Block a user