mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
build: Add -Wunused to the set of standard warnings
This may catch problems like #1390 in future. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
bbcce75d4e
commit
170cf5a397
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user