mirror of https://gitee.com/openkylin/libvirt.git
Remove an unnecessary variable from remoteIOReadMessage().
Signed-off-by: Chris Lalancette <clalance@redhat.com>
This commit is contained in:
parent
b1e32305bd
commit
38b3514832
|
@ -6942,10 +6942,9 @@ remoteIOReadMessage(virConnectPtr conn, struct private_data *priv,
|
|||
if (priv->saslconn) {
|
||||
if (priv->saslDecoded == NULL) {
|
||||
char encoded[8192];
|
||||
unsigned int encodedLen = sizeof(encoded);
|
||||
int ret, err;
|
||||
ret = remoteIOReadBuffer(conn, priv, in_open,
|
||||
encoded, encodedLen);
|
||||
encoded, sizeof(encoded));
|
||||
if (ret < 0)
|
||||
return -1;
|
||||
if (ret == 0)
|
||||
|
|
Loading…
Reference in New Issue