Fix several missing initializer warnings in gio/tests/gdbus-peer.c

gio/tests/gdbus-peer.c:262:1: error: missing initializer for field ‘padding’ of ‘GDBusInterfaceVTable’ {aka ‘const struct _GDBusInterfaceVTable’}
  262 | };
      | ^
gio/tests/gdbus-peer.c:1263:1: error: missing initializer for field ‘padding’ of ‘GDBusInterfaceVTable’ {aka ‘const struct _GDBusInterfaceVTable’}
 1263 | };
      | ^
This commit is contained in:
Emmanuel Fleury 2020-11-18 21:28:32 +01:00
parent 7c909db13a
commit e3f6d4a08b

View File

@ -258,7 +258,8 @@ static const GDBusInterfaceVTable test_interface_vtable =
{
test_interface_method_call,
test_interface_get_property,
NULL /* set_property */
NULL, /* set_property */
{ 0 }
};
static void
@ -1436,7 +1437,8 @@ static const GDBusInterfaceVTable dmp_interface_vtable =
{
dmp_on_method_call,
NULL, /* get_property */
NULL /* set_property */
NULL, /* set_property */
{ 0 }
};