]> git.ipfire.org Git - thirdparty/git.git/commit - fetch-pack.c
fetch-pack: mark unused parameter in callback function
authorJeff King <peff@peff.net>
Fri, 24 Feb 2023 06:39:35 +0000 (01:39 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 24 Feb 2023 17:13:32 +0000 (09:13 -0800)
commit65daa9ba1c86052d7a889a407b95c3ffa61be47b
treea4b7ed4ecdca19579354012a2650a6b87d99f219
parent3c50c88f426dddd6c4cb1c1ae847a1eddd5eafee
fetch-pack: mark unused parameter in callback function

The for_each_cached_alternate() interface requires a callback that takes
a negotiator parameter, but not all implementations need it. Mark the
unused one as such to appease -Wunused-parameter.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
fetch-pack.c