]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/kvm.c
kvm: remove unnecessary assignments
authorBlue Swirl <blauwirbel@gmail.com>
Sun, 4 Sep 2011 11:03:52 +0000 (11:03 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 10 Sep 2011 14:50:00 +0000 (14:50 +0000)
commit6115c0a82dfdb4192ea42b48aebced2a7f96efd4
treedf2e4a8cf12c987961d3275015a88a569c6948c6
parent18f88f1195e32afd86eab2bda083f4624180e3f4
kvm: remove unnecessary assignments

Avoid these warnings from clang analyzer:
/src/qemu/target-i386/kvm.c:772:5: warning: Value stored to 'cwd' is never read
    cwd = swd = twd = 0;
/src/qemu/target-i386/kvm.c:772:11: warning: Although the value stored to 'swd' is used in the enclosing expression, the value is never actually read from 'swd'
    cwd = swd = twd = 0;

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-i386/kvm.c