]> git.ipfire.org Git - thirdparty/git.git/commit
xdiff: delete unnecessary fields from xrecord_t and xdfile_t
authorEzekiel Newren <ezekielnewren@gmail.com>
Fri, 26 Sep 2025 22:41:50 +0000 (22:41 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 26 Sep 2025 23:08:55 +0000 (16:08 -0700)
commitefaf553b1a4ea9cafcb9cab0697157091bc4825a
treeacf550be11e39185a68ddfba9e8ca497ae56353c
parentd1c028bdf75b9bcd380f85f74a34edcbaa060fee
xdiff: delete unnecessary fields from xrecord_t and xdfile_t

xrecord_t.next, xdfile_t.hbits, xdfile_t.rhash are initialized,
but never used for anything by the code. Remove them.

Best-viewed-with: --color-words
Signed-off-by: Ezekiel Newren <ezekielnewren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
xdiff/xprepare.c
xdiff/xtypes.h