提交 ded70984 编写于 作者: D Daniel P. Berrange

Fix unreachable statement (John Levon)

上级 b5259e7e
Wed Dec 17 21:49:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
* src/remote_internal.c: Fix unreachable return statement
(John Levon)
Wed Dec 17 21:45:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
Use correct type for domain events callbacks args (John Levon)
......
......@@ -5090,7 +5090,6 @@ really_read_buf (virConnectPtr conn, struct private_data *priv,
VIR_ERR_RPC, _("socket closed unexpectedly"));
return -1;
}
return err;
} else {
reread:
err = recv (priv->sock, bytes, len, 0);
......@@ -5106,10 +5105,9 @@ really_read_buf (virConnectPtr conn, struct private_data *priv,
VIR_ERR_RPC, _("socket closed unexpectedly"));
return -1;
}
return err;
}
return 0;
return err;
}
static int
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册