mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
Fix missing initializer warning in gio/glib-compile-resources.c
gio/glib-compile-resources.c: In function ‘parse_resource_file’: gio/glib-compile-resources.c:553:3: error: missing initializer for field ‘passthrough’ of ‘GMarkupParser’ {aka ‘struct _GMarkupParser’} 553 | GMarkupParser parser = { start_element, end_element, text }; | ^~~~~~~~~~~~~
This commit is contained in:
parent
7c7aec9b31
commit
bdcd7eca3b
@ -550,7 +550,7 @@ parse_resource_file (const gchar *filename,
|
||||
gboolean collect_data,
|
||||
GHashTable *files)
|
||||
{
|
||||
GMarkupParser parser = { start_element, end_element, text };
|
||||
GMarkupParser parser = { start_element, end_element, text, NULL, NULL };
|
||||
ParseState state = { 0, };
|
||||
GMarkupParseContext *context;
|
||||
GError *error = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user