提交 af0715bb 编写于 作者: M Michal Privoznik

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: NMichal Privoznik <mprivozn@redhat.com>
Reviewed-by: NJohn Ferlan <jferlan@redhat.com>
上级 dd92df93
...@@ -6490,7 +6490,6 @@ qemuDomainObjBeginJobInternal(virQEMUDriverPtr driver, ...@@ -6490,7 +6490,6 @@ qemuDomainObjBeginJobInternal(virQEMUDriverPtr driver,
else else
blocker = priv->job.asyncOwnerAPI; blocker = priv->job.asyncOwnerAPI;
ret = -1;
if (errno == ETIMEDOUT) { if (errno == ETIMEDOUT) {
if (blocker) { if (blocker) {
virReportError(VIR_ERR_OPERATION_TIMEOUT, virReportError(VIR_ERR_OPERATION_TIMEOUT,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册