remove ecb parameter from xdi_diff_outf()
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Tue, 4 May 2010 20:41:34 +0000 (22:41 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 4 May 2010 22:19:14 +0000 (15:19 -0700)
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 <rene.scharfe@lsrfire.ath.cx>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found