From ab6ba9d521ab6de9a601790c7fb83aa70c0c03b1 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Thu, 15 Aug 2019 23:06:24 -0700 Subject: [PATCH] Makefile: enable -Wimplicit-fallthrough --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index da32cf9..5d4b21e 100644 --- a/Makefile +++ b/Makefile @@ -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.