diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-04-06 22:38:28 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-04-06 22:38:28 +0200 |
commit | 955abf5f72617f6044fdadeeaee7e9b78735340a (patch) | |
tree | d3a9fcf9cb14ef496f65a4f16938699b87f14414 /builtin/pack-redundant.c | |
parent | Merge branch 'jk/unused-post-2.40' (diff) | |
parent | parse-options: drop parse_opt_unknown_cb() (diff) | |
download | git-955abf5f72617f6044fdadeeaee7e9b78735340a.tar.xz git-955abf5f72617f6044fdadeeaee7e9b78735340a.zip |
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/pack-redundant.c')
-rw-r--r-- | builtin/pack-redundant.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/pack-redundant.c b/builtin/pack-redundant.c index 5e93d87320..d50c2d6693 100644 --- a/builtin/pack-redundant.c +++ b/builtin/pack-redundant.c @@ -558,7 +558,7 @@ static void load_all(void) } } -int cmd_pack_redundant(int argc, const char **argv, const char *prefix) +int cmd_pack_redundant(int argc, const char **argv, const char *prefix UNUSED) { int i; int i_still_use_this = 0; |