Fix missing field initializer warning in glib/tests/option-argv0.c

glib/tests/option-argv0.c:38:14: warning: missing field 'short_name' initializer
      { NULL } };
             ^
This commit is contained in:
Emmanuel Fleury 2021-04-28 22:51:17 +02:00
parent 2e4524cd36
commit f2d14a8770

View File

@ -35,7 +35,7 @@ test_platform_argv0 (void)
gboolean arg;
GOptionEntry entries [] =
{ { "test", 't', 0, G_OPTION_ARG_STRING, &arg, NULL, NULL },
{ NULL } };
G_OPTION_ENTRY_NULL };
const gchar * const expected_prgnames[] =
{
"option-argv0",