build: Enable -Wimplicit-fallthrough by default

This commit is contained in:
Benjamin Otte 2018-09-02 20:47:48 +02:00
parent 3aff811d13
commit 93b9f22369

View File

@ -344,6 +344,7 @@ if cc.get_id() == 'gcc' or cc.get_id() == 'clang'
test_c_args = [
'-Wall',
'-Wduplicated-branches',
'-Wimplicit-fallthrough',
'-Wmisleading-indentation',
'-Wstrict-prototypes',
'-Wunused',