diff options
| author | Junio C Hamano <gitster@pobox.com> | 2023-04-06 13:38:28 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-04-06 13:38:28 -0700 |
| commit | 955abf5f72617f6044fdadeeaee7e9b78735340a (patch) | |
| tree | d3a9fcf9cb14ef496f65a4f16938699b87f14414 /builtin/credential.c | |
| parent | 9bc647a2d177f0c70b7a39fe84a20349589dc9da (diff) | |
| parent | 4a4d9706ade6dcdca7cc16372f1f83f5011a5d2b (diff) | |
| download | git-955abf5f72617f6044fdadeeaee7e9b78735340a.tar.gz | |
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 'builtin/credential.c')
| -rw-r--r-- | builtin/credential.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/credential.c b/builtin/credential.c index d7b304fa08..7010752987 100644 --- a/builtin/credential.c +++ b/builtin/credential.c @@ -6,7 +6,7 @@ static const char usage_msg[] = "git credential (fill|approve|reject)"; -int cmd_credential(int argc, const char **argv, const char *prefix) +int cmd_credential(int argc, const char **argv, const char *prefix UNUSED) { const char *op; struct credential c = CREDENTIAL_INIT; |
