Skip to content

Commit cf0b26d

Browse files
peffgitster
authored andcommitted
xdiff: drop CMP_ENV macro from xhistogram
This macro has been unused since 43ca753 (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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 6b13bc3 commit cf0b26d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

xdiff/xhistogram.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,6 @@ static int cmp_recs(xpparam_t const *xpp,
9595

9696
}
9797

98-
#define CMP_ENV(xpp, env, s1, l1, s2, l2) \
99-
(cmp_recs(xpp, REC(env, s1, l1), REC(env, s2, l2)))
100-
10198
#define CMP(i, s1, l1, s2, l2) \
10299
(cmp_recs(i->xpp, REC(i->env, s1, l1), REC(i->env, s2, l2)))
103100

0 commit comments

Comments
 (0)