Use G_OPTION_ENTRY_NULL to avoid missing initializer warnings

This commit is contained in:
Emmanuel Fleury
2021-05-13 20:16:46 +00:00
committed by Philip Withnall
parent 53834ee319
commit e952248dc2
33 changed files with 46 additions and 42 deletions

View File

@@ -39,7 +39,7 @@ static const GOptionEntry entries[] = {
{ "nofollow-symlinks", 'n', 0, G_OPTION_ARG_NONE, &nofollow_symlinks, N_("Dont follow symbolic links"), NULL},
{ "print-display-names", 'd', 0, G_OPTION_ARG_NONE, &print_display_names, N_("Print display names"), NULL },
{ "print-uris", 'u', 0, G_OPTION_ARG_NONE, &print_uris, N_("Print full URIs"), NULL},
{ NULL }
G_OPTION_ENTRY_NULL
};
static void