mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 02:54:58 -06:00
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:
parent
d4c4e6fdc7
commit
9678d9501b
6 changed files with 10 additions and 15 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue