Skip to content

Removal of several unused variables causing

[email protected] qemu-devel qemu-trivial 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4rtl8139: Remove unused variablehw/net/rtl8139.c+0 -21 reply
2/4tulip: Remove unused variablehw/net/tulip.c+1 -31 reply
3/4qemu-img: remove unused variableqemu-img.c+2 -21 reply
4/4host-libusb: Remove unused variablehw/usb/host-libusb.c+0 -151 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchThomas Huth
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

From: Miroslav Rezanina <[email protected]>

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(-)
Signature · 1 line
2.31.1