X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-reindex.c;h=57ff59040153f934db5ee215fbee898924ffd78d;hp=bceac72284649b7c2605e952f40fd53dff37af52;hb=0bb05ff693737c5b91d6a64f6209984a6c418c46;hpb=eb232ee0aba8f031fe4f0cb509682a321d85e06e diff --git a/notmuch-reindex.c b/notmuch-reindex.c index bceac722..57ff5904 100644 --- a/notmuch-reindex.c +++ b/notmuch-reindex.c @@ -99,8 +99,8 @@ notmuch_reindex_command (notmuch_config_t *config, int argc, char *argv[]) sigaction (SIGINT, &action, NULL); notmuch_opt_desc_t options[] = { - { NOTMUCH_OPT_INHERIT, (void *) ¬much_shared_options, NULL, 0, 0 }, - { 0, 0, 0, 0, 0 } + { .opt_inherit = notmuch_shared_options }, + { } }; opt_index = parse_arguments (argc, argv, options, 1);