[glib: 7/9] Fix missing initializer warning in gio/tests/gdbus-example-export.c




commit 1c084ca71719e6553127de42926f4a0575f94e5f
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date:   Fri Nov 20 19:26:51 2020 +0100

    Fix missing initializer warning in gio/tests/gdbus-example-export.c
    
    gio/tests/gdbus-example-export.c:229:1: error: missing initializer for field ‘padding’ of 
‘GDBusInterfaceVTable’ {aka ‘const struct _GDBusInterfaceVTable’}
      229 | };
          | ^

 gio/tests/gdbus-example-export.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gio/tests/gdbus-example-export.c b/gio/tests/gdbus-example-export.c
index f712d88f0..182305068 100644
--- a/gio/tests/gdbus-example-export.c
+++ b/gio/tests/gdbus-example-export.c
@@ -225,7 +225,8 @@ static const GDBusInterfaceVTable interface_vtable =
 {
   handle_method_call,
   handle_get_property,
-  handle_set_property
+  handle_set_property,
+  { 0 }
 };
 
 static void


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