mbox series

[0/4] Removal of several unused variables causing

Message ID cover.1668009030.git.mrezanin@redhat.com (mailing list archive)
Headers show
Series Removal of several unused variables causing | expand

Message

Miroslav Rezanina Nov. 9, 2022, 3:57 p.m. UTC
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(-)