Message ID | ebcaa9e1-d306-4c93-adec-3f35d7040531@web.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | parse-options: drop unused parse_opt_ctx_t member | expand |
On Tue, Oct 3, 2023 at 4:55 AM René Scharfe <l.s.r@web.de> wrote: > 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. > --- Missing sign-off.
Am 03.10.23 um 19:38 schrieb Eric Sunshine: > On Tue, Oct 3, 2023 at 4:55 AM René Scharfe <l.s.r@web.de> wrote: >> 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. >> --- > > Missing sign-off. Oops, thanks for catching that. Technically not necessary, I guess, since the patch is trivial, but here it is: Signed-off-by: René Scharfe <l.s.r@web.de>
diff --git a/parse-options.h b/parse-options.h index 57a7fe9d91..4a66ec3bf5 100644 --- a/parse-options.h +++ b/parse-options.h @@ -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,