From 9678d9501bc5f2e6e06170013dec8667057c3b62 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sun, 25 Apr 2010 18:35:52 +0000 Subject: Remove dead assignments in various common files, spotted by clang analyzer Value stored is never read. Signed-off-by: Blue Swirl --- slirp/cksum.c | 1 - 1 file changed, 1 deletion(-) (limited to 'slirp') 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; -- cgit v1.2.3