diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-07-25 21:05:24 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-07-25 21:05:24 +0200 |
commit | c5fcd34e1bfabde14dff226ad92aca9c39d67391 (patch) | |
tree | 9d5e641fa51c7398b844742319e5d88f633b6b9a /revision.c | |
parent | Merge branch 'dk/bundle-i18n-more' (diff) | |
parent | t/helper: mark unused callback void data parameters (diff) | |
download | git-c5fcd34e1bfabde14dff226ad92aca9c39d67391.tar.xz git-c5fcd34e1bfabde14dff226ad92aca9c39d67391.zip |
Merge branch 'jk/unused-parameter'
Mark-up unused parameters in the code so that we can eventually
enable -Wunused-parameter by default.
* jk/unused-parameter:
t/helper: mark unused callback void data parameters
tag: mark unused parameters in each_tag_name_fn callbacks
rev-parse: mark unused parameter in for_each_abbrev callback
replace: mark unused parameter in each_mergetag_fn callback
replace: mark unused parameter in ref callback
merge-tree: mark unused parameter in traverse callback
fsck: mark unused parameters in various fsck callbacks
revisions: drop unused "opt" parameter in "tweak" callbacks
count-objects: mark unused parameter in alternates callback
am: mark unused keep_cr parameters
http-push: mark unused parameter in xml callback
http: mark unused parameters in curl callbacks
do_for_each_ref_helper(): mark unused repository parameter
test-ref-store: drop unimplemented reflog-expire command
Diffstat (limited to 'revision.c')
-rw-r--r-- | revision.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/revision.c b/revision.c index 03dcf4f106..2f4c53ea20 100644 --- a/revision.c +++ b/revision.c @@ -2970,7 +2970,7 @@ int setup_revisions(int argc, const char **argv, struct rev_info *revs, struct s if (!revs->def) revs->def = opt ? opt->def : NULL; if (opt && opt->tweak) - opt->tweak(revs, opt); + opt->tweak(revs); if (revs->show_merge) prepare_show_merge(revs); if (revs->def && !revs->pending.nr && !revs->rev_input_given) { |