]> git.ipfire.org Git - thirdparty/git.git/commit
test-trace2: mark unused argv/argc parameters
authorJeff King <peff@peff.net>
Tue, 29 Aug 2023 23:45:25 +0000 (19:45 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 30 Aug 2023 00:56:25 +0000 (17:56 -0700)
commit51bf8676c09aefaa8ccd6de0bcae4e0e532cc672
treefb60aa0ed7754ee6b42624adf9572af6cd302238
parent4b8dd424d8842685edf39fb7b8b173bae23817a4
test-trace2: mark unused argv/argc parameters

The trace2 test helper uses function pointers to dispatch to individual
tests. Not all tests bother looking at their argv/argc parameters. We
could tighten this up (e.g., complaining when seeing unexpected
parameters), but for internal test code it's not worth worrying about.

This is similar in spirit to 126e3b3d2a (t/helper: mark unused argv/argc
arguments, 2023-03-28).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/helper/test-trace2.c