commit.c: rename variable named 'n' which masks previous declaration · wolfpython/git@f203d69 · GitHub
Skip to content

Commit f203d69

Browse files
drafnelgitster
authored andcommitted
commit.c: rename variable named 'n' which masks previous declaration
The variable named 'n' was initially declared to be of type int. The name 'n' was reused inside inner blocks as a different type. Rename the uses within inner blocks to avoid confusion and give them a slightly more descriptive name. Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 1630726 commit f203d69

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

commit.c

Lines changed: 5 additions & 5 deletions

0 commit comments

Comments
 (0)