]> git.ipfire.org Git - thirdparty/git.git/commit - submodule.c
run_processes_parallel: mark unused callback parameters
authorJeff King <peff@peff.net>
Fri, 24 Feb 2023 06:39:46 +0000 (01:39 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 24 Feb 2023 17:13:33 +0000 (09:13 -0800)
commita5c76b3698f3672afecd65eed233b095123ae1d6
tree679277ec2632636910160ddf47bfafe2f4e8ed17
parent1bff855419b0cb338e7ef53b77f99207704bf63e
run_processes_parallel: mark unused callback parameters

Our parallel process API takes several callbacks via function pointers
in the run_process_paralell_opts struct. Not every callback needs every
parameter; let's 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>
builtin/fetch.c
builtin/submodule--helper.c
hook.c
submodule.c
t/helper/test-run-command.c