Disable another clang warning (-Wempty-body) when WARNS <= 2.
MFC after: 1 week
This commit is contained in:
parent
ac7472adb6
commit
c09186a2bb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228677
@ -66,7 +66,7 @@ CWARNFLAGS += -Wno-tautological-compare -Wno-unused-value\
|
||||
-Wno-conversion
|
||||
. endif
|
||||
. if ${WARNS} <= 2
|
||||
CWARNFLAGS += -Wno-switch-enum
|
||||
CWARNFLAGS += -Wno-switch-enum -Wno-empty-body
|
||||
. endif
|
||||
. if ${WARNS} <= 1
|
||||
CWARNFLAGS += -Wno-parentheses
|
||||
|
Loading…
Reference in New Issue
Block a user