From c09186a2bbe90687a6b4785ed4dffb3073b0c642 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sun, 18 Dec 2011 00:34:42 +0000 Subject: [PATCH] Disable another clang warning (-Wempty-body) when WARNS <= 2. MFC after: 1 week --- share/mk/bsd.sys.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index d4830f115b0c..7a72ca65ee37 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -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