Skip to content

Fix Clang 24 -Wunused-but-set-global warnings

Yosry Ahmed kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2chr-testdev: Remove unused in_vqlib/chr-testdev.c+1 -21 reply
2/2x86/desc: Remove unused exception flaglib/x86/desc.c+0 -21 reply

Reviews trailers per patch

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

PatchAndrew JonesThomas Huth
1/2R-b
2/2R-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 [kvm-unit-tests PATCH 0/2] Fix Clang 24 -Wunused-but-set-global warnings

Building kvm-unit-tests with Clang 24 fails with -Werror due to the new -Wunused-but-set-global warning flagging static variables that are written to but never read in lib/chr-testdev.c and lib/x86/desc.c.

Remove both unused variables.

Yosry Ahmed (2):
chr-testdev: Remove unused in_vq
x86/desc: Remove unused exception flag

 lib/chr-testdev.c | 3 +--
 lib/x86/desc.c    | 2 --
 2 files changed, 1 insertion(+), 4 deletions(-)

base-commit: 5a221342a025948fa7d84f0c404748f6ba57f3ad

Signature · 1 line
2.56.0.257.gf7497c7d27-goog