]> git.ipfire.org Git - thirdparty/git.git/commit
diffcore-pickaxe: mark unused parameters in pickaxe functions
authorJeff King <peff@peff.net>
Tue, 18 Oct 2022 01:09:07 +0000 (21:09 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Oct 2022 04:24:04 +0000 (21:24 -0700)
commit0ada4b9bfeb42409f4bea1beef006fbd854aa108
tree6af9099413595f58cd7c5556427bb49e7da442b5
parentdfd2a238855967035cca3bf1475e542ba2f7823b
diffcore-pickaxe: mark unused parameters in pickaxe functions

We have a virtual pickaxe_fn for handling -G versus -S pickaxe options.
They need to take the same set of parameters, but of course they care
about different ones (e.g., a regex -G will never use a kwset).

Mark the unused ones to appease -Wunused-parameter.

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