diff options
author | rbuj <[email protected]> | 2021-10-28 11:25:32 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-03-10 23:20:37 +0100 |
commit | 1604c4ca1857e6a34b3d32b656e7bbcd36bf429a (patch) | |
tree | d5b97d43404d11ad03974700f9eeb3dfe8c01ca5 | |
parent | 4158bfe57dc7dfe224541ffd12095ba15dbdedcf (diff) | |
download | mate-settings-daemon-1604c4ca1857e6a34b3d32b656e7bbcd36bf429a.tar.bz2 mate-settings-daemon-1604c4ca1857e6a34b3d32b656e7bbcd36bf429a.tar.xz |
Fix build warnings about missing field initializer
-rw-r--r-- | mate-settings-daemon/main.c | 2 | ||||
-rw-r--r-- | 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 |