commit | 369c86e7889ef7f4c9902e25156d3193d4046a2a | [log] [tgz] |
---|---|---|
author | Blue Swirl <blauwirbel@gmail.com> | Sun Mar 07 13:45:37 2010 +0000 |
committer | Blue Swirl <blauwirbel@gmail.com> | Sun Mar 07 13:45:37 2010 +0000 |
tree | 581b4317462526ee2ec9342520cdd6bca7e0fccb | |
parent | aca9fcd28e8a40f2555f8d6d113e4988335aa629 [diff] [blame] |
slirp: remove dead increments, spotted by clang Value stored is never read. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
diff --git a/slirp/bootp.c b/slirp/bootp.c index 261762a..3e4e881 100644 --- a/slirp/bootp.c +++ b/slirp/bootp.c
@@ -293,7 +293,7 @@ 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;