[glib: 3/7] Fix missing initializer warning in gio/tests/gdbus-exit-on-close.c




commit aace697d7ef10e518a38237aa7d4233b8b406401
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date:   Thu Apr 29 13:45:36 2021 +0200

    Fix missing initializer warning in gio/tests/gdbus-exit-on-close.c
    
    gio/tests/gdbus-exit-on-close.c:52:14: warning: missing field 'bug' initializer
          { NULL }
                 ^

 gio/tests/gdbus-exit-on-close.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/tests/gdbus-exit-on-close.c b/gio/tests/gdbus-exit-on-close.c
index 4241fc7a4..1bf0ce7dd 100644
--- a/gio/tests/gdbus-exit-on-close.c
+++ b/gio/tests/gdbus-exit-on-close.c
@@ -49,7 +49,7 @@ static const TestData cases[] = {
       { "true",     NULL,     EXPLICITLY_TRUE,  REMOTE },
       { "false",    NULL,     EXPLICITLY_FALSE, REMOTE },
       { "we-close", "662100", EXPLICITLY_TRUE,  LOCAL  },
-      { NULL }
+      { NULL, NULL, 0, 0 }
 };
 
 static gboolean


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