mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-16 12:28:48 +02: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,
|
gboolean collect_data,
|
||||||
GHashTable *files)
|
GHashTable *files)
|
||||||
{
|
{
|
||||||
GMarkupParser parser = { start_element, end_element, text };
|
GMarkupParser parser = { start_element, end_element, text, NULL, NULL };
|
||||||
ParseState state = { 0, };
|
ParseState state = { 0, };
|
||||||
GMarkupParseContext *context;
|
GMarkupParseContext *context;
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user