remove ecb parameter from xdi_diff_outf()
authorRené Scharfe <redacted>
Tue, 4 May 2010 20:41:34 +0000 (22:41 +0200)
committerJunio C Hamano <redacted>
Tue, 4 May 2010 22:19:14 +0000 (15:19 -0700)
commitdfea79004c54bc96143386d6ac22de500ba4f747
treeddaea54211bb9e03e0fc699575f74eb01546988c
parented215b109fc0e352456ea2ef6a0f8375e28466d5
remove ecb parameter from xdi_diff_outf()

xdi_diff_outf() overrides the structure members of its last parameter,
ignoring any value that callers pass in.  It's no surprise then that all
callers pass a pointer to an uninitialized structure.  They also don't
read it after the call, so the parameter is neither used for input nor
for output.   Turn it into a local variable of xdi_diff_outf().

Signed-off-by: Rene Scharfe <redacted>
Acked-by: Jeff King <redacted>
Signed-off-by: Junio C Hamano <redacted>
combine-diff.c
diff.c
xdiff-interface.c
xdiff-interface.h
git clone https://git.99rst.org/PROJECT