mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +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
@@ -17,7 +17,7 @@ my_cmdline_handler (gpointer data)
|
||||
{ "arg1", 0, 0, G_OPTION_ARG_INT, &arg1, NULL, NULL },
|
||||
{ "arg2", 0, 0, G_OPTION_ARG_NONE, &arg2, NULL, NULL },
|
||||
{ "help", '?', 0, G_OPTION_ARG_NONE, &help, NULL, NULL },
|
||||
{ NULL }
|
||||
G_OPTION_ENTRY_NULL
|
||||
};
|
||||
GError *error;
|
||||
gint i;
|
||||
|
Reference in New Issue
Block a user