mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
Fix several missing initializer in gio/gsettingsschema.c:parse_into_text_tables()
gio/gsettingsschema.c: In function ‘parse_into_text_tables’: gio/gsettingsschema.c:682:3: error: missing initializer for field ‘passthrough’ of ‘GMarkupParser’ {aka ‘struct _GMarkupParser’} 682 | GMarkupParser parser = { start_element, end_element, text }; | ^~~~~~~~~~~~~ gio/gsettingsschema.c:683:3: error: missing initializer for field ‘gettext_domain’ of ‘TextTableParseInfo’ [-Werror=missing-field-initializers] 683 | TextTableParseInfo info = { summaries, descriptions }; | ^~~~~~~~~~~~~~~~~~
This commit is contained in:
parent
7c32b1173a
commit
05c311a961
@ -683,8 +683,8 @@ parse_into_text_tables (const gchar *directory,
|
||||
GHashTable *summaries,
|
||||
GHashTable *descriptions)
|
||||
{
|
||||
GMarkupParser parser = { start_element, end_element, text };
|
||||
TextTableParseInfo info = { summaries, descriptions };
|
||||
GMarkupParser parser = { start_element, end_element, text, NULL, NULL };
|
||||
TextTableParseInfo info = { summaries, descriptions, NULL, NULL, NULL, NULL };
|
||||
const gchar *basename;
|
||||
GDir *dir;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user