Fix Clang 24 -Wunused-but-set-global warnings
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | chr-testdev: Remove unused in_vqlib/ | +1 | 1 reply | |
| 2/2 | x86/desc: Remove unused exception flaglib/ | +0 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Andrew Jones | Thomas Huth |
|---|---|---|
| 1/2 | R-b | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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