diff options
| author | Jeff King <peff@peff.net> | 2023-07-03 02:44:21 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2023-07-13 17:24:00 -0700 |
| commit | ee550abcce86e27c0be3593a4c9af4dc7322039a (patch) | |
| tree | 2d3470b51cd6468a96aa0efd6b14fb12ea9de94d /builtin/replace.c | |
| parent | fsck: mark unused parameters in various fsck callbacks (diff) | |
| download | git-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
