summaryrefslogtreecommitdiff
path: root/xdiff
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2021-12-03 05:11:15 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-12-05 07:27:53 (GMT)
commitcf0b26d90c93ce0a600ed094107b5f1a611750e9 (patch)
tree874bf8f8d9ab427384ea6a6c33f719864cb83012 /xdiff
parent6b13bc32322dc64e52ef29c9f527746ad30d0ad8 (diff)
downloadgit-cf0b26d90c93ce0a600ed094107b5f1a611750e9.zip
git-cf0b26d90c93ce0a600ed094107b5f1a611750e9.tar.gz
git-cf0b26d90c93ce0a600ed094107b5f1a611750e9.tar.bz2
xdiff: drop CMP_ENV macro from xhistogram
This macro has been unused since 43ca7530df (xdiff/xhistogram: rely on xdl_trim_ends(), 2011-08-01). The function that called it went away there, and its use in the CMP() macro was inlined. It probably should have been deleted then, but nobody noticed. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'xdiff')
-rw-r--r--xdiff/xhistogram.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/xdiff/xhistogram.c b/xdiff/xhistogram.c
index 6c1c88a..399cc23 100644
--- a/xdiff/xhistogram.c
+++ b/xdiff/xhistogram.c
@@ -95,9 +95,6 @@ static int cmp_recs(xpparam_t const *xpp,
}
-#define CMP_ENV(xpp, env, s1, l1, s2, l2) \
- (cmp_recs(xpp, REC(env, s1, l1), REC(env, s2, l2)))
-
#define CMP(i, s1, l1, s2, l2) \
(cmp_recs(i->xpp, REC(i->env, s1, l1), REC(i->env, s2, l2)))