diff options
| author | Brandon Casey <drafnel@gmail.com> | 2009-08-27 11:16:33 -0500 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2009-08-27 16:20:53 -0700 |
| commit | 1630726e849b8b0f1802ad0681b94a64d4851a30 (patch) | |
| tree | 270b4d7ca086a71c6146f1da32182847dcaecead /commit.c | |
| parent | Makefile: remove pointless conditional assignment in SunOS section (diff) | |
| download | git-1630726e849b8b0f1802ad0681b94a64d4851a30.tar.gz git-1630726e849b8b0f1802ad0681b94a64d4851a30.zip | |
abspath.c: move declaration of 'len' into inner block and use appropriate type
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>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
