mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
build: Threat unused-result warnings as errors
We don't have any in code now, so we should definitely ensure that we won't introduce anymore unguarded calls.
This commit is contained in:
parent
7a382438aa
commit
b61cd872f1
@ -473,6 +473,7 @@ if cc.get_id() == 'gcc' or cc.get_id() == 'clang'
|
||||
'-Werror=init-self',
|
||||
'-Werror=missing-include-dirs',
|
||||
'-Werror=pointer-arith',
|
||||
'-Werror=unused-result',
|
||||
]
|
||||
|
||||
warning_c_args = warning_common_args + [
|
||||
|
Loading…
Reference in New Issue
Block a user