Fedora 37 has just been released with clang 15.
The latter seems more picky wrt unused variable.

Fixes have been tested in GHA with a simple patch I used in my own repo:
https://github.com/david-marchand/dpdk/commit/82cd57ae5490
https://github.com/david-marchand/dpdk/actions/runs/3495454457

-- 
David Marchand

David Marchand (11):
  service: fix build with clang 15
  vhost: fix build with clang 15
  bus/dpaa: fix build with clang 15
  net/atlantic: fix build with clang 15
  net/dpaa2: fix build with clang 15
  net/ice: fix build with clang 15
  app/testpmd: fix build with clang 15
  app/testpmd: fix build with clang 15 in flow code
  test/efd: fix build with clang 15
  test/member: fix build with clang 15
  test/event: fix build with clang 15

 app/test-pmd/config.c               | 14 --------------
 app/test-pmd/noisy_vnf.c            |  2 +-
 app/test/test_efd_perf.c            |  1 -
 app/test/test_event_timer_adapter.c |  2 --
 app/test/test_member.c              |  1 -
 app/test/test_member_perf.c         |  1 -
 drivers/bus/dpaa/base/qbman/bman.h  |  4 +---
 drivers/net/atlantic/atl_rxtx.c     |  5 ++---
 drivers/net/dpaa2/dpaa2_rxtx.c      |  4 +---
 drivers/net/ice/ice_ddp_package.c   |  3 ---
 lib/eal/common/rte_service.c        |  2 --
 lib/vhost/virtio_net.c              |  2 --
 12 files changed, 5 insertions(+), 36 deletions(-)

-- 
2.38.1

Reply via email to