Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-04-06 23:38:28 +0300
committerJunio C Hamano <gitster@pobox.com>2023-04-06 23:38:28 +0300
commit955abf5f72617f6044fdadeeaee7e9b78735340a (patch)
treed3a9fcf9cb14ef496f65a4f16938699b87f14414 /parse-options.h
parent9bc647a2d177f0c70b7a39fe84a20349589dc9da (diff)
parent4a4d9706ade6dcdca7cc16372f1f83f5011a5d2b (diff)
Merge branch 'jk/unused-post-2.40-part2'
Code clean-up for "-Wunused-parameter" build. * jk/unused-post-2.40-part2: parse-options: drop parse_opt_unknown_cb() t/helper: mark unused argv/argc arguments mark "argv" as unused when we check argc builtins: mark unused prefix parameters builtins: annotate always-empty prefix parameters builtins: always pass prefix to parse_options() fast-import: fix file access when run from subdir
Diffstat (limited to 'parse-options.h')
-rw-r--r--parse-options.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/parse-options.h b/parse-options.h
index 26f19384e5..fcb58c4043 100644
--- a/parse-options.h
+++ b/parse-options.h
@@ -479,9 +479,6 @@ int parse_opt_commit(const struct option *, const char *, int);
int parse_opt_tertiary(const struct option *, const char *, int);
int parse_opt_string_list(const struct option *, const char *, int);
int parse_opt_noop_cb(const struct option *, const char *, int);
-enum parse_opt_result parse_opt_unknown_cb(struct parse_opt_ctx_t *ctx,
- const struct option *,
- const char *, int);
int parse_opt_passthru(const struct option *, const char *, int);
int parse_opt_passthru_argv(const struct option *, const char *, int);
/* value is enum branch_track* */