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 | ae26e302676e202fd0dce83cd183e00d61c88fa0 (patch) | |
tree | 98a3d703b5db9b598a639fa672bbe159a85b07c4 /slirp/cksum.c | |
parent | 7b4b4fc1a6be00b6e478c04814cc9831c9f98a9e (diff) | |
download | qemu-ae26e302676e202fd0dce83cd183e00d61c88fa0.tar.gz qemu-ae26e302676e202fd0dce83cd183e00d61c88fa0.tar.bz2 qemu-ae26e302676e202fd0dce83cd183e00d61c88fa0.zip |
Remove dead assignments in various common files, spotted by clang analyzer
Value stored is never read.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'slirp/cksum.c')
-rw-r--r-- | slirp/cksum.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/slirp/cksum.c b/slirp/cksum.c index c3b45f7b3d..48a1792199 100644 --- a/slirp/cksum.c +++ b/slirp/cksum.c @@ -110,7 +110,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; |