aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/replace.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2023-07-03 02:44:21 -0400
committerJunio C Hamano <gitster@pobox.com>2023-07-13 17:24:00 -0700
commitee550abcce86e27c0be3593a4c9af4dc7322039a (patch)
tree2d3470b51cd6468a96aa0efd6b14fb12ea9de94d /builtin/replace.c
parentfsck: mark unused parameters in various fsck callbacks (diff)
downloadgit-ee550abcce86e27c0be3593a4c9af4dc7322039a.tar.gz
git-ee550abcce86e27c0be3593a4c9af4dc7322039a.zip
merge-tree: mark unused parameter in traverse callback
Our threeway_callback() does not bother to look at its "n" parameter. It is static in this file and used only by trivial_merge_trees(), which always passes 3 trees (hence the name "threeway"). It also does not look at "dirmask". This is OK, as it handles directories specifically by looking at the mode bits. Other traverse_info callbacks need these, so we can't get drop them from the interface. But let's annotate these ones to avoid complaints from -Wunused-parameter. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/replace.c')
0 files changed, 0 insertions, 0 deletions