[PATCH 0/4] Removal of several unused variables causing

mrezanin@redhat.com posted 4 patches 1 year, 6 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/cover.1668009030.git.mrezanin@redhat.com
Maintainers: Jason Wang <jasowang@redhat.com>, Sven Schnelle <svens@stackframe.org>, Gerd Hoffmann <kraxel@redhat.com>, Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>
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(-)
[PATCH 0/4] Removal of several unused variables causing
Posted by mrezanin@redhat.com 1 year, 6 months ago
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