From 369c86e7889ef7f4c9902e25156d3193d4046a2a Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sun, 7 Mar 2010 13:45:37 +0000 Subject: slirp: remove dead increments, spotted by clang Value stored is never read. Signed-off-by: Blue Swirl --- slirp/bootp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'slirp/bootp.c') diff --git a/slirp/bootp.c b/slirp/bootp.c index 261762a260..3e4e8810be 100644 --- a/slirp/bootp.c +++ b/slirp/bootp.c @@ -293,7 +293,7 @@ static void bootp_reply(Slirp *slirp, const struct bootp_t *bp) memcpy(q, nak_msg, sizeof(nak_msg) - 1); q += sizeof(nak_msg) - 1; } - *q++ = RFC1533_END; + *q = RFC1533_END; daddr.sin_addr.s_addr = 0xffffffffu; -- cgit v1.2.1