]> git.ipfire.org Git - thirdparty/git.git/commitdiff
parse-options: drop unused parse_opt_ctx_t member
authorRené Scharfe <l.s.r@web.de>
Tue, 3 Oct 2023 08:55:21 +0000 (10:55 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Oct 2023 20:15:03 +0000 (13:15 -0700)
5c387428f1 (parse-options: don't emit "ambiguous option" for aliases,
2019-04-29) added "updated_options" to struct parse_opt_ctx_t, but it
has never been used.  Remove it.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
parse-options.h

index 57a7fe9d91a1690e59e05838897a8d474aca5de1..4a66ec3bf5f4bfcae08297f4799bdd51222b3b81 100644 (file)
@@ -459,7 +459,6 @@ struct parse_opt_ctx_t {
        unsigned has_subcommands;
        const char *prefix;
        const char **alias_groups; /* must be in groups of 3 elements! */
-       struct option *updated_options;
 };
 
 void parse_options_start(struct parse_opt_ctx_t *ctx,