[glib: 8/15] Fix missing initializer warning in glib/tests/markup-subparser.c




commit 2eb66a2091a7ed748b522debf3a6b9db2fe6229e
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date:   Sun Nov 8 21:42:41 2020 +0100

    Fix missing initializer warning in glib/tests/markup-subparser.c
    
    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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]