aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https/proxy.go
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2023-08-29 19:45:17 -0400
committerJunio C Hamano <gitster@pobox.com>2023-08-29 17:56:24 -0700
commite1cba404dbe54f2bf0511b3bd480c0e05fb65360 (patch)
treea94b15e4707abd372f443810edb0ab7e647aa1d6 /contrib/persistent-https/proxy.go
parentworktree: mark unused parameters in each_ref_fn callback (diff)
downloadgit-e1cba404dbe54f2bf0511b3bd480c0e05fb65360.tar.gz
git-e1cba404dbe54f2bf0511b3bd480c0e05fb65360.zip
commit-graph: mark unused data parameters in generation callbacks
The compute_generation_info code uses function pointers to abstract the get/set generation operations. Some callers don't need the extra void data pointer, which should be annotated to appease -Wunused-parameter. Note that we can drop the assignment of the "data" parameter in compute_generation_numbers(), as we've just shown that neither of the callbacks it uses will access it. This matches the caller in ensure_generations_valid(), which already does not bother to set "data". Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https/proxy.go')
0 files changed, 0 insertions, 0 deletions