Merge branch 'wunused' into 'master'

build: Add -Wunused to the set of standard warnings

See merge request GNOME/glib!9
This commit is contained in:
Philip Withnall 2018-05-25 13:05:09 +00:00
commit d981b997ca

View File

@ -328,6 +328,7 @@ if cc.get_id() == 'gcc' or cc.get_id() == 'clang'
'-Wall', '-Wall',
'-Wduplicated-branches', '-Wduplicated-branches',
'-Wstrict-prototypes', '-Wstrict-prototypes',
'-Wunused',
'-Werror=declaration-after-statement', '-Werror=declaration-after-statement',
'-Werror=format=2', '-Werror=format=2',
'-Werror=format-security', '-Werror=format-security',