build: Enable -Wdiscarded-qualifiers

The codebase is clean for it, so why not enforce it?

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://phabricator.endlessm.com/T24004
This commit is contained in:
Philip Withnall 2018-12-14 13:32:46 +00:00
parent a2c2965d25
commit 42ba0e13e8
1 changed files with 1 additions and 1 deletions

View File

@ -55,6 +55,7 @@ test_c_args = [
'-Wcast-align',
'-Wclobbered',
'-Wno-declaration-after-statement',
'-Wdiscarded-qualifiers',
'-Wduplicated-branches',
'-Wduplicated-cond',
'-Wempty-body',
@ -78,7 +79,6 @@ test_c_args = [
'-Wmissing-prototypes',
'-Wnested-externs',
'-Wno-error=cpp',
'-Wno-discarded-qualifiers',
'-Wno-missing-field-initializers',
'-Wno-suggest-attribute=format',
'-Wno-unused-parameter',