mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
Fixing missing initializer in glib/test/markup-collect.c
glib/tests/markup-collect.c:79:1: error: missing initializer for field ‘end_element’ of ‘GMarkupParser’ {aka ‘struct _GMarkupParser’} 79 | static GMarkupParser parser = { start }; | ^~~~~~ glib/tests/markup-collect.c:198:1: error: missing initializer for field ‘end_element’ of ‘GMarkupParser’ {aka ‘struct _GMarkupParser’} 198 | }; | ^
This commit is contained in:
parent
2292960690
commit
93dd614562
@ -76,7 +76,7 @@ start (GMarkupParseContext *context,
|
||||
}
|
||||
}
|
||||
|
||||
static GMarkupParser parser = { start };
|
||||
static GMarkupParser parser = { start, NULL, NULL, NULL, NULL };
|
||||
|
||||
struct test
|
||||
{
|
||||
@ -194,7 +194,7 @@ start_element (GMarkupParseContext *context,
|
||||
}
|
||||
|
||||
static GMarkupParser cleanup_parser = {
|
||||
start_element
|
||||
start_element, NULL, NULL, NULL, NULL
|
||||
};
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user