[glib: 4/12] Fix missing initializers warnings in glib/tests/utf8-validate.c




commit f9904fe7aeda8e8e7cebeed014bb5370650e9818
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date:   Wed Apr 28 23:03:01 2021 +0200

    Fix missing initializers warnings in glib/tests/utf8-validate.c
    
    glib/tests/utf8-validate.c:271:11: warning: missing field 'max_len' initializer
      { NULL, }
              ^

 glib/tests/utf8-validate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/tests/utf8-validate.c b/glib/tests/utf8-validate.c
index 51543f4b2..5fc37a3a3 100644
--- a/glib/tests/utf8-validate.c
+++ b/glib/tests/utf8-validate.c
@@ -268,7 +268,7 @@ Test test[] = {
   { "\x20\xed\xaf\xbf\xed\xb0\x80\x20", -1, 1, FALSE },
   { "\x20\xed\xaf\xbf\xed\xbf\xbf\x20", -1, 1, FALSE },
 
-  { NULL, }
+  { NULL, 0, 0, 0 }
 };
 
 static void


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