1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-04-04 06:43:07 +02:00

Merge branch '2812-missing-field-initializers' into 'main'

build: Explicitly enable -Wmissing-field-initializers

Closes 

See merge request 
This commit is contained in:
Simon McVittie 2022-11-21 16:07:43 +00:00
commit 054b96fd09

@ -477,6 +477,7 @@ if cc.get_id() == 'gcc' or cc.get_id() == 'clang'
'-Wduplicated-branches', '-Wduplicated-branches',
'-Wimplicit-fallthrough', '-Wimplicit-fallthrough',
'-Wmisleading-indentation', '-Wmisleading-indentation',
'-Wmissing-field-initializers',
'-Wnonnull', '-Wnonnull',
'-Wunused', '-Wunused',
# Due to maintained deprecated code, we do not want to see unused parameters # Due to maintained deprecated code, we do not want to see unused parameters