From 27454ed55722e3164fbe514d8c3f68ce6a3cc721 Mon Sep 17 00:00:00 2001 From: Emmanuel Fleury Date: Wed, 28 Apr 2021 23:22:26 +0200 Subject: [PATCH] Fix missing initializer warning in gio/glib-compile-schemas.c gio/glib-compile-schemas.c:2181:12: warning: missing field 'short_name' initializer { NULL } ^ --- gio/glib-compile-schemas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/glib-compile-schemas.c b/gio/glib-compile-schemas.c index cfea042f8..7e1152f6b 100644 --- a/gio/glib-compile-schemas.c +++ b/gio/glib-compile-schemas.c @@ -2178,7 +2178,7 @@ main (int argc, char **argv) /* These options are only for use in the gschema-compile tests */ { "schema-file", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_FILENAME_ARRAY, &schema_files, NULL, NULL }, { "override-file", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_FILENAME_ARRAY, &override_files, NULL, NULL }, - { NULL } + G_OPTION_ENTRY_NULL }; #ifdef G_OS_WIN32