From 83a9ba77904b92cdd20c2557dee9b3f5c2c90869 Mon Sep 17 00:00:00 2001 From: Emmanuel Fleury Date: Thu, 19 Nov 2020 20:54:29 +0100 Subject: [PATCH] Fix missing initializer warning in gio/tests/gdbus-testserver.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gio/tests/gdbus-testserver.c:806:1: error: missing initializer for field ‘padding’ of ‘GDBusInterfaceVTable’ {aka ‘const struct _GDBusInterfaceVTable’} 806 | }; | ^ In file included from gio/gio.h:53, from gio/tests/gdbus-testserver.c:1: gdbusconnection.h:395:12: note: ‘padding’ declared here 395 | gpointer padding[8]; | ^~~~~~~ --- gio/tests/gdbus-testserver.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gio/tests/gdbus-testserver.c b/gio/tests/gdbus-testserver.c index a0efccdc5..ae8e47b18 100644 --- a/gio/tests/gdbus-testserver.c +++ b/gio/tests/gdbus-testserver.c @@ -802,7 +802,8 @@ static const GDBusInterfaceVTable interface_vtable = { handle_method_call, handle_get_property, - handle_set_property + handle_set_property, + { 0 } }; static void