diff options
author | Jeff King <peff@peff.net> | 2022-08-19 10:49:41 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-08-19 21:20:24 +0200 |
commit | f1d019071ea68cb2bd2602b925d7a3726ded22e9 (patch) | |
tree | 5414a91709bc190c9d5501e80f219aa14920c816 /xdiff/xdiffi.c | |
parent | The fourteenth batch (diff) | |
download | git-f1d019071ea68cb2bd2602b925d7a3726ded22e9.tar.xz git-f1d019071ea68cb2bd2602b925d7a3726ded22e9.zip |
xdiff: drop unused mmfile parameters from xdl_do_histogram_diff()
These are no longer used since 9df0fc3d57 (xdiff: fix a memory leak,
2022-02-16), as the caller is expected to call xdl_prepare_env() itself.
After that change the histogram code only examines the prepared
xdfenv_t, not the original buffers.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'xdiff/xdiffi.c')
-rw-r--r-- | xdiff/xdiffi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xdiff/xdiffi.c b/xdiff/xdiffi.c index 53e803e6bc..8c64519eac 100644 --- a/xdiff/xdiffi.c +++ b/xdiff/xdiffi.c @@ -326,7 +326,7 @@ int xdl_do_diff(mmfile_t *mf1, mmfile_t *mf2, xpparam_t const *xpp, } if (XDF_DIFF_ALG(xpp->flags) == XDF_HISTOGRAM_DIFF) { - res = xdl_do_histogram_diff(mf1, mf2, xpp, xe); + res = xdl_do_histogram_diff(xpp, xe); goto out; } |