mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-30 13:53:30 +02:00
Use G_OPTION_ENTRY_NULL to avoid missing initializer warnings
This commit is contained in:
committed by
Philip Withnall
parent
53834ee319
commit
e952248dc2
@@ -747,7 +747,7 @@ main (int argc, char **argv)
|
||||
{ "internal", 0, 0, G_OPTION_ARG_NONE, &internal, N_("Don’t export functions; declare them G_GNUC_INTERNAL"), NULL },
|
||||
{ "external-data", 0, 0, G_OPTION_ARG_NONE, &external_data, N_("Don’t embed resource data in the C file; assume it's linked externally instead"), NULL },
|
||||
{ "c-name", 0, 0, G_OPTION_ARG_STRING, &c_name, N_("C identifier name used for the generated source code"), NULL },
|
||||
{ NULL }
|
||||
G_OPTION_ENTRY_NULL
|
||||
};
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
|
Reference in New Issue
Block a user