diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-03-07 13:45:37 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-03-07 13:45:37 +0000 |
commit | 6dbfff6e106ac2efb5d46b245dde5f3bb18d68b1 (patch) | |
tree | 7e47d61a9919361f410982c08c375bf37c88e2b1 /tcp_subr.c | |
parent | 57cb0c8c8f5872b4fd867962d3a865ebcf52b683 (diff) | |
download | slirp-6dbfff6e106ac2efb5d46b245dde5f3bb18d68b1.zip slirp-6dbfff6e106ac2efb5d46b245dde5f3bb18d68b1.tar.gz slirp-6dbfff6e106ac2efb5d46b245dde5f3bb18d68b1.tar.bz2 |
slirp: remove dead increments, spotted by clang
Value stored is never read.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'tcp_subr.c')
-rw-r--r-- | tcp_subr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -852,7 +852,7 @@ int tcp_emu(struct socket *so, struct mbuf *m) if (p == 7071) p = 0; *(u_char *)bptr++ = (p >> 8) & 0xff; - *(u_char *)bptr++ = p & 0xff; + *(u_char *)bptr = p & 0xff; ra = 0; return 1; /* port redirected, we're done */ break; |