[glib: 5/12] Fix missing initializer warning in glib/tests/spawn-path-search-helper.c
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 5/12] Fix missing initializer warning in glib/tests/spawn-path-search-helper.c
- Date: Thu, 13 May 2021 12:04:47 +0000 (UTC)
commit 66af2566216d972a4c7a36099dce9efed9c4d074
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date: Wed Apr 28 23:04:56 2021 +0200
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 }
^
glib/tests/spawn-path-search-helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/tests/spawn-path-search-helper.c b/glib/tests/spawn-path-search-helper.c
index 378c203c7..37be43b7f 100644
--- a/glib/tests/spawn-path-search-helper.c
+++ b/glib/tests/spawn-path-search-helper.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]