mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 23:02:02 -04:00
bsd.sys.mk: Re-enable -Wunused-but-set-variable for clang 13+.
Reviewed by: dim, emaste Differential Revision: https://reviews.freebsd.org/D40674
This commit is contained in:
parent
ab2f6ae8d1
commit
d036adc4e9
1 changed files with 0 additions and 3 deletions
|
|
@ -86,9 +86,6 @@ CWARNFLAGS+= -Wdate-time
|
|||
.if ${WARNS} <= 6
|
||||
CWARNFLAGS.clang+= -Wno-empty-body -Wno-string-plus-int
|
||||
CWARNFLAGS.clang+= -Wno-unused-const-variable
|
||||
.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 130000
|
||||
CWARNFLAGS.clang+= -Wno-error=unused-but-set-variable
|
||||
.endif
|
||||
.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 150000
|
||||
CWARNFLAGS.clang+= -Wno-error=unused-but-set-parameter
|
||||
.endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue