diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-04-06 23:38:28 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-04-06 23:38:28 +0300 |
commit | 9bc647a2d177f0c70b7a39fe84a20349589dc9da (patch) | |
tree | bbeeceec0031d6d92d4da1d2a4bcf645a053a917 /transport.c | |
parent | ae61aecb9e338ab02a7d3cced40135ab43880093 (diff) | |
parent | b3edf335dfa978b43d10de7e722a7e355a3d0e4c (diff) |
Merge branch 'jk/unused-post-2.40'
More "-Wunused-parameters" code clean-up.
* jk/unused-post-2.40:
transport: mark unused parameters in fetch_refs_from_bundle()
http: mark unused parameter in fill_active_slot() callbacks
http: drop unused parameter from start_object_request()
mailmap: drop debugging code
Diffstat (limited to 'transport.c')
-rw-r--r-- | transport.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/transport.c b/transport.c index fa9bc3be08..c5e201f6a3 100644 --- a/transport.c +++ b/transport.c @@ -170,7 +170,8 @@ static struct ref *get_refs_from_bundle(struct transport *transport, } static int fetch_refs_from_bundle(struct transport *transport, - int nr_heads, struct ref **to_fetch) + int nr_heads UNUSED, + struct ref **to_fetch UNUSED) { struct bundle_transport_data *data = transport->data; struct strvec extra_index_pack_args = STRVEC_INIT; |