From ea2e21715840683dd23caf8e45b39eeea45252ff Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 28 Oct 2021 14:55:08 +0200 Subject: Fix build warnings about missing field initializer --- src/main.c | 2 +- src/server.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 292f4b1..09ad822 100644 --- a/src/main.c +++ b/src/main.c @@ -89,7 +89,7 @@ static const GOptionEntry options[] = { NULL, NULL }, - { NULL } + { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL } }; static void diff --git a/src/server.c b/src/server.c index 1ca6c4e..660abd4 100644 --- a/src/server.c +++ b/src/server.c @@ -389,7 +389,8 @@ handle_method_call (GDBusConnection *connection, static const GDBusInterfaceVTable interface_vtable = { handle_method_call, NULL, /* handle_get_property */ - NULL /* handle_set_property */ + NULL, /* handle_set_property */ + { 0 } }; -- cgit v1.2.1