userformat_want_item(): mark unused parameter
commit1bff855419b0cb338e7ef53b77f99207704bf63e
authorJeff King <peff@peff.net>
Fri, 24 Feb 2023 06:39:43 +0000 (24 01:39 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 24 Feb 2023 17:13:32 +0000 (24 09:13 -0800)
tree6d1105473c1c61595785401ccbe7c5b53f5e4fe4
parent43090008e365a5dfec5a167b5ab64b1f0c1345a6
userformat_want_item(): mark unused parameter

This function is used as a callback to strbuf_expand(), so it must
conform to the correct interface. But naturally it doesn't need to touch
its "sb" parameter, since it is only examining the placeholder string,
and not actually writing any output. So mark the unused parameter to
silence -Wunused-parameter.

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