mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-31 21:34:12 +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
@@ -252,7 +252,7 @@ main (int argc, char *argv[])
|
||||
{ "server", 's', 0, G_OPTION_ARG_NONE, &opt_server, "Start a server instead of a client", NULL },
|
||||
{ "address", 'a', 0, G_OPTION_ARG_STRING, &opt_address, "D-Bus address to use", NULL },
|
||||
{ "allow-anonymous", 'n', 0, G_OPTION_ARG_NONE, &opt_allow_anonymous, "Allow anonymous authentication", NULL },
|
||||
{ NULL}
|
||||
G_OPTION_ENTRY_NULL
|
||||
};
|
||||
|
||||
ret = 1;
|
||||
|
Reference in New Issue
Block a user