Fix missing initializer warning in glib/tests/spawn-path-search-helper.c

glib/tests/spawn-path-search-helper.c:82:12: warning: missing field 'short_name' initializer
    { NULL }
           ^
This commit is contained in:
Emmanuel Fleury 2021-04-28 23:04:56 +02:00
parent f9904fe7ae
commit 66af256621

View File

@ -79,7 +79,7 @@ main (int argc,
{ "slow-path", '\0',
G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, &slow_path,
"Use a child-setup function to avoid the posix_spawn fast path", NULL },
{ NULL }
G_OPTION_ENTRY_NULL
};
GError *error = NULL;
int ret = 1;