]> git.ipfire.org Git - thirdparty/git.git/commit
tag: mark unused parameters in each_tag_name_fn callbacks
authorJeff King <peff@peff.net>
Mon, 3 Jul 2023 06:44:33 +0000 (02:44 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 14 Jul 2023 00:24:00 +0000 (17:24 -0700)
commitcc2f810172a09f8c451594b3662c010830b37903
tree78db51702daf977560f3f9d7f3e4cb641631e5b9
parent1e6459efcaaf9d0bffba59fd0bc0c44d0731dd65
tag: mark unused parameters in each_tag_name_fn callbacks

We iterate over the set of input tag names using callbacks. But not all
operations need the same inputs, so some parameters go unused (but of
course not the same ones for each operation). Mark the unused ones to
avoid -Wunused-parameter warnings.

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