# HG changeset patch
# User john.levon(a)sun.com
# Date 1229399267 28800
# Node ID 77dceb31cae41057c4274517f5c3246e47545de3
# Parent 8b69f84c9498d05ae03f5389eb83290aaeab23e6
Fix statement not reached compiler error
Signed-off-by: John Levon <john.levon(a)sun.com>
diff --git a/src/remote_internal.c b/src/remote_internal.c
--- a/src/remote_internal.c
+++ b/src/remote_internal.c
@@ -5090,7 +5090,6 @@ really_read_buf (virConnectPtr conn, str
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, str
VIR_ERR_RPC, _("socket closed unexpectedly"));
return -1;
}
- return err;
- }
-
- return 0;
+ }
+
+ return err;
}
static int