Commit ed61433e authored by Mike Gabriel's avatar Mike Gabriel

nx-X11/lib/X11/LiHosts.c: Drop unused variable (in XListHosts).

parent 5e2e760d
......@@ -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)) +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment