Makefile: enable -Wimplicit-fallthrough

This commit is contained in:
Eric Biggers 2019-08-15 23:06:24 -07:00
parent 858751572e
commit ab6ba9d521

View File

@ -47,7 +47,8 @@ override CFLAGS := \
$(call cc-option,-Wdeclaration-after-statement) \
$(call cc-option,-Wmissing-prototypes) \
$(call cc-option,-Wstrict-prototypes) \
$(call cc-option,-Wvla)
$(call cc-option,-Wvla) \
$(call cc-option,-Wimplicit-fallthrough)
# We don't define any CPPFLAGS, but support the user specifying it.