]> git.ipfire.org Git - thirdparty/git.git/commit
transport: mark bundle transport_options as unused
authorJeff King <peff@peff.net>
Fri, 19 Aug 2022 10:08:39 +0000 (06:08 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Aug 2022 19:18:55 +0000 (12:18 -0700)
commitf7d5741279ce8406a274f9de8ef4eeff5ca3f149
tree9aceafbee3e9b96a48b719cc5e76c4e71624c9b4
parent7718827a2d4ec90c9cbdb7ec01f68065bdb52dc2
transport: mark bundle transport_options as unused

get_refs_from_bundle() is a virtual function which must match the
signature of other transports, but it doesn't look at its
transport_options at all. This isn't a bug, because not all transports
necessarily support all options. Let's mark it as unused to appease
-Wunused-parameter.

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