]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/gc.c
string-list: mark unused callback parameters
authorJeff King <peff@peff.net>
Tue, 18 Oct 2022 01:05:32 +0000 (21:05 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Oct 2022 04:24:04 +0000 (21:24 -0700)
commit1ee347104576c8a2681edd79ed8328791f0677d2
tree550d2854f0b1e0467f435d12cdf6d0d3423cdf93
parent9eb6cdadd155f93ff25c674050f218d3f21a5e82
string-list: mark unused callback parameters

String-lists may be used with callbacks for clearing or iteration. These
callbacks need to conform to a particular interface, even though not
every callback needs all of its parameters. Mark the unused ones to make
-Wunused-parameter happy.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
archive.c
builtin/gc.c
builtin/remote.c
merge-ort.c
reflog-walk.c
string-list.c
t/helper/test-path-utils.c