Remove dead assignments in various common files, spotted by clang analyzer

Value stored is never read.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Blue Swirl 2010-04-25 18:35:52 +00:00
parent d4c4e6fdc7
commit 9678d9501b
6 changed files with 10 additions and 15 deletions

View file

@ -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;