From fa0265b4dee95f2ccc7a279fc1dedc27909929ab 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 cff302d..a474244 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 43c1e39..24491b2 100644 --- a/src/server.c +++ b/src/server.c @@ -383,7 +383,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 } }; static void -- cgit v1.2.1