[glib: 5/8] Fix missing initializer in gio/tests/fake-service-name.c




commit e3453f39dd898f384b5702d4a6362bcc9973868b
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date:   Tue Feb 2 18:19:37 2021 +0100

    Fix missing initializer in gio/tests/fake-service-name.c
    
    gio/tests/fake-service-name.c:55:1: error: missing initializer for field ‘padding’ of 
‘GDBusInterfaceVTable’ {aka ‘const struct _GDBusInterfaceVTable’}
       55 | };
          | ^

 gio/tests/fake-service-name.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gio/tests/fake-service-name.c b/gio/tests/fake-service-name.c
index 1a601a50c..c3a61180c 100644
--- a/gio/tests/fake-service-name.c
+++ b/gio/tests/fake-service-name.c
@@ -51,7 +51,8 @@ incoming_method_call (GDBusConnection       *connection,
 static const GDBusInterfaceVTable interface_vtable = {
   incoming_method_call,
   NULL,
-  NULL
+  NULL,
+  { 0 }
 };
 
 static void


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