From 5e54e4eed9ddfe1187f521c6a2ced928e0438bdc Mon Sep 17 00:00:00 2001 From: rbuj Date: Mon, 3 Jan 2022 16:58:45 +0100 Subject: test-menu-spec: Fix build warning -Wmissing-field-initializers --- util/test-menu-spec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/test-menu-spec.c b/util/test-menu-spec.c index d6e2e9e..bd78ecf 100644 --- a/util/test-menu-spec.c +++ b/util/test-menu-spec.c @@ -39,8 +39,8 @@ static GOptionEntry options[] = { { "monitor", 'm', 0, G_OPTION_ARG_NONE, &monitor, N_("Monitor for menu changes"), NULL }, { "include-excluded", 'i', 0, G_OPTION_ARG_NONE, &include_excluded, N_("Include d entries"), NULL }, { "include-nodisplay", 'n', 0, G_OPTION_ARG_NONE, &include_nodisplay, N_("Include NoDisplay=true entries"), NULL }, - { "include-unallocated", 'u', 0, G_OPTION_ARG_NONE, &include_unallocated, N_("Include unallocated entries"), NULL }, - { NULL } + { "include-unallocated", 'u', 0, G_OPTION_ARG_NONE, &include_unallocated, N_("Include unallocated entries"), NULL }, + { NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL } }; static void -- cgit v1.2.1