mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
Fix non-initialized variable in glib/gmarkup.c
This commit is contained in:
parent
51e54f64c1
commit
c118fd5e37
@ -1032,7 +1032,7 @@ emit_start_element (GMarkupParseContext *context,
|
||||
*/
|
||||
if ((context->flags & G_MARKUP_IGNORE_QUALIFIED) && strchr (current_element (context), ':'))
|
||||
{
|
||||
static const GMarkupParser ignore_parser;
|
||||
static const GMarkupParser ignore_parser = { 0 };
|
||||
g_markup_parse_context_push (context, &ignore_parser, NULL);
|
||||
clear_attributes (context);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user