git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] parse-options: drop unused parse_opt_ctx_t member

From
René Scharfe <l.s.r@web.de>
Date
Oct 3, 2023, 08:55 UTC
Message-ID
<ebcaa9e1-d306-4c93-adec-3f35d7040531@web.de>
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(-)
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,
--
2.42.0
Next: Eric Sunshine
Message 1 of 3 in “parse-options: drop unused parse_opt_ctx_t member”
  1. parse-options: drop unused parse_opt_ctx_t memberRené Scharfe, Oct 3, 2023
  2. Eric SunshineOct 3, 2023
  3. René ScharfeOct 3, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.