aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-06-29 13:17:04 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-07-05 08:11:41 +0200
commited61433e1fda7bf83f912d6d7b750b77f47dce07 (patch)
tree5e0b9c916556d7f4120741f2673f6af88e98e163
parent5e2e760d3a7b6a671f21169bf5220f482eb2c17d (diff)
downloadnx-libs-ed61433e1fda7bf83f912d6d7b750b77f47dce07.tar.gz
nx-libs-ed61433e1fda7bf83f912d6d7b750b77f47dce07.tar.bz2
nx-libs-ed61433e1fda7bf83f912d6d7b750b77f47dce07.zip
nx-X11/lib/X11/LiHosts.c: Drop unused variable (in XListHosts).
-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)) +