HomeFreeBSD

ath: fix older clang build.

Description

ath: fix older clang build.

Define NO_WUNUSED_BUT_SET_VARIABLE for newer clang, and use it in ATH_C
to account for different clang versions. Use it in Makefiles as well.

Sponsored by: Netflix
Reviewed by: kevans, jhb
Differential Revision: https://reviews.freebsd.org/D34408

Details

Provenance
impAuthored on Mar 2 2022, 5:54 AM
Reviewer
kevans
Differential Revision
D34408: ath: fix older clang build.
Parents
rG3b17e19f026f: bootstrap: bump minimum supported version
Branches
Unknown
Tags
Unknown