From 1604c4ca1857e6a34b3d32b656e7bbcd36bf429a Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 28 Oct 2021 11:25:32 +0200 Subject: Fix build warnings about missing field initializer --- mate-settings-daemon/main.c | 2 +- plugins/rfkill/msd-rfkill-manager.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mate-settings-daemon/main.c b/mate-settings-daemon/main.c index 9d30631..dcff17c 100644 --- a/mate-settings-daemon/main.c +++ b/mate-settings-daemon/main.c @@ -67,7 +67,7 @@ static GOptionEntry entries[] = { { "replace", 0, 0, G_OPTION_ARG_NONE, &replace, N_("Replace the current daemon"), NULL }, { "no-daemon", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &no_daemon, N_("Don't become a daemon"), NULL }, { "timed-exit", 0, 0, G_OPTION_ARG_NONE, &do_timed_exit, N_("Exit after a time (for debugging)"), NULL }, - { NULL } + { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL } }; static gboolean diff --git a/plugins/rfkill/msd-rfkill-manager.c b/plugins/rfkill/msd-rfkill-manager.c index b2d3631..fbe74fb 100644 --- a/plugins/rfkill/msd-rfkill-manager.c +++ b/plugins/rfkill/msd-rfkill-manager.c @@ -462,7 +462,8 @@ static const GDBusInterfaceVTable interface_vtable = { NULL, handle_get_property, - handle_set_property + handle_set_property, + { 0 } }; static void -- cgit v1.2.1