Warn about fallthrough

And fix some fallthroughs
This commit is contained in:
Yuxuan Shui
2018-08-14 10:51:01 +01:00
parent 5e1411c5c6
commit a1afb76c44
2 changed files with 3 additions and 6 deletions

View File

@ -129,7 +129,7 @@ endif
LIBS += $(shell pkg-config --libs $(PACKAGES))
INCS += $(shell pkg-config --cflags $(PACKAGES))
CFLAGS += -Wall
CFLAGS += -Wall -Wimplicit-fallthrough
BINS = compton bin/compton-trans
MANPAGES = man/compton.1 man/compton-trans.1