diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-04-25 18:35:52 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-04-25 18:35:52 +0000 |
commit | 1a3efc36ae7cd2a1c05e7d1edd42bc18967a56e8 (patch) | |
tree | 90d4a704df4fb5d5f7e238c5397584cd35577a32 | |
parent | ae1e6b3a8ef4e11e8c34e73721b6d9dfb891e103 (diff) | |
download | slirp-1a3efc36ae7cd2a1c05e7d1edd42bc18967a56e8.zip slirp-1a3efc36ae7cd2a1c05e7d1edd42bc18967a56e8.tar.gz slirp-1a3efc36ae7cd2a1c05e7d1edd42bc18967a56e8.tar.bz2 |
Remove dead assignments in various common files, spotted by clang analyzer
Value stored is never read.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r-- | cksum.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -129,7 +129,6 @@ int cksum(struct mbuf *m, int len) if (byte_swapped) { REDUCE; sum <<= 8; - byte_swapped = 0; if (mlen == -1) { s_util.c[1] = *(u_int8_t *)w; sum += s_util.s; |