abspath.c: move declaration of 'len' into inner block and use appropriate type
authorBrandon Casey <drafnel@gmail.com>
Thu, 27 Aug 2009 16:16:33 +0000 (11:16 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 27 Aug 2009 23:20:53 +0000 (16:20 -0700)
The 'len' variable was declared at the beginning of the make_absolute_path
function and also in an inner 'if' block which masked the outer declaration.
It is only used in two 'if' blocks, so remove the outer declaration and
make a new declaration inside the other 'if' block that uses 'len'.

Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found