mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 13:06:14 +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 *summaries,
|
||||||
GHashTable *descriptions)
|
GHashTable *descriptions)
|
||||||
{
|
{
|
||||||
GMarkupParser parser = { start_element, end_element, text };
|
GMarkupParser parser = { start_element, end_element, text, NULL, NULL };
|
||||||
TextTableParseInfo info = { summaries, descriptions };
|
TextTableParseInfo info = { summaries, descriptions, NULL, NULL, NULL, NULL };
|
||||||
const gchar *basename;
|
const gchar *basename;
|
||||||
GDir *dir;
|
GDir *dir;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user