aboutsummaryrefslogtreecommitdiffstats
path: root/t/t4018/cpp-function-returning-pointer
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2022-10-17 21:05:52 -0400
committerJunio C Hamano <gitster@pobox.com>2022-10-17 21:24:04 -0700
commit7829746a6ceca69813348331833b0b6940f41d54 (patch)
tree756f763d090db78b17fb109ae63effbf2c437441 /t/t4018/cpp-function-returning-pointer
parentstring-list: mark unused callback parameters (diff)
downloadgit-7829746a6ceca69813348331833b0b6940f41d54.tar.gz
git-7829746a6ceca69813348331833b0b6940f41d54.zip
date: mark unused parameters in handler functions
When parsing approxidates, we use a table to map special strings (like "noon") to functions which handle them. Not all functions need the "now" parameter, as they are not relative (e.g., "yesterday" does, but "pm" does not). Let's annotate those to make -Wunused-parameter happy. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4018/cpp-function-returning-pointer')
0 files changed, 0 insertions, 0 deletions