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