diff options
author | Jeff King <peff@peff.net> | 2022-12-13 06:13:08 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-12-13 22:16:23 +0900 |
commit | a361660aeff6dcf85c92eb1f7bd7645ec6fc60bc (patch) | |
tree | a57349a8cc2963b1b5326da40e05d4f9063b9159 /range-diff.c | |
parent | c5224f0f4cd53e3b205f54b98bc3dc66a9007c71 (diff) |
xdiff: drop unused parameter in def_ff()
The def_ff() function is the default "find_func" for finding hunk
headers. It has never used its "priv" argument since it was introduced
in f258475a6e (Per-path attribute based hunk header selection.,
2007-07-06). But back then we used a function pointer to switch between
a caller-provided function and the default, so the two had to conform to
the same interface.
In ff2981f724 (xdiff: factor out match_func_rec(), 2016-05-28), that
pointer indirection went away in favor of code which directly calls
either of the two functions. So there's no need for def_ff() to retain
this unused parameter.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'range-diff.c')
0 files changed, 0 insertions, 0 deletions