Disable another clang warning (-Wempty-body) when WARNS <= 2.

MFC after:	1 week
This commit is contained in:
Dimitry Andric 2011-12-18 00:34:42 +00:00
parent ac7472adb6
commit c09186a2bb

View File

@ -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