From: Miroslav Rezanina <mrezanin@redhat.com>
When trying to run qemu build using clang 15.0.1 compiler with
--enable-werror option, several 'Unused but set variable' warnings
was breaking the build.
These variables show similar pattern - they are only incremented but
final value of the variable is never used.
Removing this variables to enable using --enable-werror option
with Clang 15.0.1.
Miroslav Rezanina (4):
rtl8139: Remove unused variable
tulip: Remove unused variable
qemu-img: remove unused variable
host-libusb: Remove unused variable
hw/net/rtl8139.c | 2 --
hw/net/tulip.c | 4 +---
hw/usb/host-libusb.c | 15 ---------------
qemu-img.c | 4 ++--
4 files changed, 3 insertions(+), 22 deletions(-)
--
2.31.1