summaryrefslogtreecommitdiff
path: root/t/helper/test-path-utils.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2022-10-17 21:05:28 -0400
committerJunio C Hamano <gitster@pobox.com>2022-10-17 21:24:03 -0700
commit9eb6cdadd155f93ff25c674050f218d3f21a5e82 (patch)
tree7053f68a947011f0ddcece933ee226b3235f8eb6 /t/helper/test-path-utils.c
parent808e91956d1db707643c7f68c2b8fcc6f38a2d80 (diff)
object-file: mark unused parameters in hash_unknown functions
The 0'th entry of our hash_algos array fills out the virtual methods with a series of functions which simply BUG(). This is the right thing to do, since the point is to catch use of an invalid algo parameter, but we need to annotate them to appease -Wunused-parameters. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-path-utils.c')
0 files changed, 0 insertions, 0 deletions