Skip to content

unused-parameter cleanups on top of pw/xdiff-classify-record-in-histogram

Jeff King git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xdiff: drop CMP_ENV macro from xhistogramxdiff/xhistogram.c+0 -30 replies
2/3xdiff: drop xpparam_t parameter from histogram cmp_recs()xdiff/xhistogram.c+2 -30 replies
3/3xdiff: drop unused flags parameter from recs_matchxdiff/xdiffi.c+9 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] unused-parameter cleanups on top of pw/xdiff-classify-record-in-histogram
Quoted 8 lines · Junio C Hamano

* pw/xdiff-classify-record-in-histogram (2021-11-18) 3 commits
- xdiff: simplify comparison
- xdiff: avoid unnecessary memory allocations
- diff histogram: intern strings

"diff --histogram" optimization.

Will merge to 'next'.

This being merged to 'next' tickled my -Wunused-parameter topic, so there were a few more opportunities for cleanup.

Definitely not urgent, but I think worth doing. Prepared on top of the topic branch.

[1/3]: xdiff: drop CMP_ENV macro from xhistogram [2/3]: xdiff: drop xpparam_t parameter from histogram cmp_recs() [3/3]: xdiff: drop unused flags parameter from recs_match

 xdiff/xdiffi.c     | 18 +++++++++---------
 xdiff/xhistogram.c |  8 ++------
 2 files changed, 11 insertions(+), 15 deletions(-)

-Peff