aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/count-objects.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2023-02-24 01:38:43 -0500
committerJunio C Hamano <gitster@pobox.com>2023-02-24 09:13:30 -0800
commit2be1506a788a24e87ba4b53a1654c9ff40402750 (patch)
tree99efd32eeea1e614143aa6381c9bd99899a6a142 /builtin/count-objects.c
parenthttp-backend: mark argc/argv unused (diff)
downloadgit-2be1506a788a24e87ba4b53a1654c9ff40402750.tar.gz
git-2be1506a788a24e87ba4b53a1654c9ff40402750.zip
http-backend: mark unused parameters in virtual functions
The http-backend dispatches requests via a table of virtual functions. Some of the functions ignore their "arg" parameter, because it's implicit in the function (e.g., get_info_refs knows that it is dispatched only for a request to "/info/refs"). Mark these unused parameters to silence -Wunused-parameter. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/count-objects.c')
0 files changed, 0 insertions, 0 deletions