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

build: Explicitly enable -Wmissing-field-initializers

Closes #2812

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

View File

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