From 2eb66a2091a7ed748b522debf3a6b9db2fe6229e Mon Sep 17 00:00:00 2001 From: Emmanuel Fleury Date: Sun, 8 Nov 2020 21:42:41 +0100 Subject: [PATCH] Fix missing initializer warning in glib/tests/markup-subparser.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit glib/tests/markup-subparser.c:269:1: error: missing initializer for field ‘text’ of ‘GMarkupParser’ {aka ‘struct _GMarkupParser’} 269 | }; | ^ --- glib/tests/markup-subparser.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/glib/tests/markup-subparser.c b/glib/tests/markup-subparser.c index 41eb06c14..f8af5fdd3 100644 --- a/glib/tests/markup-subparser.c +++ b/glib/tests/markup-subparser.c @@ -265,7 +265,10 @@ end_element (GMarkupParseContext *context, static GMarkupParser parser = { start_element, - end_element + end_element, + NULL, + NULL, + NULL }; typedef struct