mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 07:38:54 +02:00
Fix non-initialized variable in glib/gmarkup.c
This commit is contained in:
committed by
Loïc Le Page
parent
51e54f64c1
commit
c118fd5e37
@@ -1032,7 +1032,7 @@ emit_start_element (GMarkupParseContext *context,
|
|||||||
*/
|
*/
|
||||||
if ((context->flags & G_MARKUP_IGNORE_QUALIFIED) && strchr (current_element (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);
|
g_markup_parse_context_push (context, &ignore_parser, NULL);
|
||||||
clear_attributes (context);
|
clear_attributes (context);
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user