summaryrefslogtreecommitdiff
path: root/t/t4009-diff-rename-4.sh
diff options
context:
space:
mode:
authorLibravatar René Scharfe <rene.scharfe@lsrfire.ath.cx>2010-05-04 22:41:34 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-05-04 15:19:14 -0700
commitdfea79004c54bc96143386d6ac22de500ba4f747 (patch)
treeddaea54211bb9e03e0fc699575f74eb01546988c /t/t4009-diff-rename-4.sh
parentindex-pack: fix trivial typo in usage string (diff)
downloadtgif-dfea79004c54bc96143386d6ac22de500ba4f747.tar.xz
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>
Diffstat (limited to 't/t4009-diff-rename-4.sh')
0 files changed, 0 insertions, 0 deletions