From d255962abb926ddf54ac5cf801a3f8efa0bd1d2d Mon Sep 17 00:00:00 2001 From: Emmanuel Fleury Date: Fri, 20 Nov 2020 19:35:42 +0100 Subject: [PATCH] Fix missing initializer warning in gio/tests/gdbus-non-socket.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gio/tests/gdbus-non-socket.c:116:1: error: missing initializer for field ‘padding’ of ‘GDBusInterfaceVTable’ {aka ‘const struct _GDBusInterfaceVTable’} 116 | }; | ^ --- gio/tests/gdbus-non-socket.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gio/tests/gdbus-non-socket.c b/gio/tests/gdbus-non-socket.c index 64d985a15..911aff262 100644 --- a/gio/tests/gdbus-non-socket.c +++ b/gio/tests/gdbus-non-socket.c @@ -112,7 +112,8 @@ pokee_method_call (GDBusConnection *connection, static const GDBusInterfaceVTable pokee_vtable = { pokee_method_call, NULL, /* get_property */ - NULL /* set_property */ + NULL, /* set_property */ + { 0 } }; /* Processes: