parse-options: drop unused parse_opt_ctx_t member
PATCH 1/1 parse-options: drop unused parse_opt_ctx_t member
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.
--- parse-options.h | 1 - 1 file changed, 1 deletion(-)
parse-options.h +0 -1
@@ -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,
--
2.42.0
Quoted 4 lines · René Scharfe
5c387428f1(parse-options: don't emit "ambiguous option" for aliases, 2019-04-29) added "updated_options" to structparse_opt_ctx_t, but it has never been used. Remove it.
---
Missing sign-off.
Am 03.10.23 um 19:38 schrieb Eric Sunshine:
Quoted 7 lines · René Scharfe
Quoted 4 lines
5c387428f1(parse-options: don't emit "ambiguous option" for aliases, 2019-04-29) added "updated_options" to structparse_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: