From 82fc86dcd4f172c2df428ad5aeb79e8a54e88f9c Mon Sep 17 00:00:00 2001 From: Emmanuel Fleury Date: Wed, 28 Apr 2021 23:26:34 +0200 Subject: [PATCH] Fix missing initializer warning in gio/gio-tool-info.c gio/gio-tool-info.c:41:10: warning: missing field 'short_name' initializer { NULL } ^ --- gio/gio-tool-info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/gio-tool-info.c b/gio/gio-tool-info.c index a06263545..336da64e2 100644 --- a/gio/gio-tool-info.c +++ b/gio/gio-tool-info.c @@ -38,7 +38,7 @@ static const GOptionEntry entries[] = { { "filesystem", 'f', 0, G_OPTION_ARG_NONE, &filesystem, N_("Get file system info"), NULL }, { "attributes", 'a', 0, G_OPTION_ARG_STRING, &attributes, N_("The attributes to get"), N_("ATTRIBUTES") }, { "nofollow-symlinks", 'n', 0, G_OPTION_ARG_NONE, &nofollow_symlinks, N_("Don’t follow symbolic links"), NULL }, - { NULL } + G_OPTION_ENTRY_NULL }; static char *