commit | dfea79004c54bc96143386d6ac22de500ba4f747 | [log] [tgz] |
---|---|---|
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | Tue May 04 22:41:34 2010 +0200 |
committer | Junio C Hamano <gitster@pobox.com> | Tue May 04 15:19:14 2010 -0700 |
tree | ddaea54211bb9e03e0fc699575f74eb01546988c | |
parent | ed215b109fc0e352456ea2ef6a0f8375e28466d5 [diff] |
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 <rene.scharfe@lsrfire.ath.cx> Acked-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>