slirp: remove dead increments, spotted by clang

Value stored is never read.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Blue Swirl 2010-03-07 13:45:37 +00:00
parent aca9fcd28e
commit 369c86e788
3 changed files with 4 additions and 2 deletions

View file

@ -857,7 +857,7 @@ 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;