diff options
author | Jeff King <peff@peff.net> | 2022-12-13 06:16:57 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-12-13 22:16:23 +0900 |
commit | c25d9e529d531adf0697e0c09ba292227c835164 (patch) | |
tree | 7b0c7de5044b44e2e9f092354c851d66befcf54c /builtin | |
parent | d3beb61f939ffcdbefc02d9ddf9d7a46102ec663 (diff) | |
download | git-c25d9e529d531adf0697e0c09ba292227c835164.tar.gz |
userdiff: mark unused parameter in internal callback
Since f12fa9ee6c (userdiff: add and use for_each_userdiff_driver(),
2021-04-08), lookup of userdiffs is done with a generic
for_each_userdiff_driver(). But the name lookup doesn't use the "type"
field, of course.
We can't get rid of that field from the generic interface because it is
used by t/helper/test-userdiff.c. So mark it as unused in this instance
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')
0 files changed, 0 insertions, 0 deletions