Merge branch 'missing-field-initializers' into 'master'

libmalcontent: Add missing field initialisers to BUILDER_INIT

See merge request pwithnall/malcontent!12
This commit is contained in:
Philip Withnall 2019-05-15 13:34:03 +00:00
commit af44861281
2 changed files with 4 additions and 1 deletions

View File

@ -159,6 +159,9 @@ GType mct_app_filter_builder_get_type (void);
g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL), \
TRUE, \
FALSE, \
/* padding: */ \
NULL, \
NULL \
}
void mct_app_filter_builder_init (MctAppFilterBuilder *builder);

View File

@ -82,7 +82,7 @@ test_c_args = [
'-Wmissing-prototypes',
'-Wnested-externs',
'-Wno-error=cpp',
'-Wno-missing-field-initializers',
'-Wmissing-field-initializers',
'-Wno-suggest-attribute=format',
'-Wno-unused-parameter',
'-Wnull-dereference',