arm: remove dead assignments, spotted by clang analyzer
Value stored is never read.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
x86: remove dead assignments, spotted by clang analyzer
Remove dead assignments in various common files, spotted by clang analyzer
usb: remove dead assignments, spotted by clang analyzer
bt: remove dead assignments, spotted by clang analyzer
Fix harmless if statement with empty body, spotted by clang
This clang error is harmless but worth fixing: CC libhw32/rc4030.o/src/qemu/hw/rc4030.c:244:66: error: if statement has empty body [-Wempty-body] DPRINTF;...
Remove un-needed code
The bdrv_set_geometry_hint call below is not needed - it's just settingwhat was just read.
Signed-off-by: Bruce Rogers <brogers@novell.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Replace calls of old bdrv_open
What is known today as bdrv_open2 becomes the new bdrv_open. All remainingcallers of the old function are converted to the new one. In some places theyeven know the right format, so they should have used bdrv_open2 from the...
Make qemu-config available for tools
To be able to use config files for blkdebug, we need to make these functionsavailable in the tools. This involves moving two functions that can only bebuilt in the context of the emulator.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
bt-sdp: Fix an excessive ; and assignment of the wrong variable
Problem-spotted-by: Blue Swirl <blauwirbel@gmail.com>Signed-off-by: Andrew Zaborowski <balrogg@gmail.com>
View revisions
Also available in: Atom