Disable another clang warning (-Wempty-body) when WARNS <= 2.
MFC after: 1 week
This commit is contained in:
parent
ac7472adb6
commit
c09186a2bb
@ -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