aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/LiHosts.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/LiHosts.c')
-rw-r--r--nx-X11/lib/X11/LiHosts.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/nx-X11/lib/X11/LiHosts.c b/nx-X11/lib/X11/LiHosts.c
index bd0864448..59e2ae318 100644
--- a/nx-X11/lib/X11/LiHosts.c
+++ b/nx-X11/lib/X11/LiHosts.c
@@ -71,11 +71,7 @@ XHostAddress *XListHosts (
}
if (reply.nHosts) {
- unsigned int l;
nbytes = reply.length << 2; /* compute number of bytes in reply */
- l = (unsigned) (nbytes +
- (reply.nHosts * sizeof(XHostAddress)) +
- (reply.nHosts * sizeof(XServerInterpretedAddress)));
op = outbuf = (XHostAddress *)
Xmalloc((unsigned) (nbytes +
(reply.nHosts * sizeof(XHostAddress)) +