aboutsummaryrefslogtreecommitdiffstats
path: root/git-svn.perl
diff options
context:
space:
mode:
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>2007-01-04 19:33:36 +0100
committerJunio C Hamano <junkio@cox.net>2007-01-04 22:28:46 -0800
commit4fe2cc0c8906ba6d39c4fab89fe88dcf2226b184 (patch)
treeae247b354d25e7226ac065244edf0f65f310d536 /git-svn.perl
parentMake check target depend on common-cmds.h (diff)
downloadgit-4fe2cc0c8906ba6d39c4fab89fe88dcf2226b184.tar.gz
git-4fe2cc0c8906ba6d39c4fab89fe88dcf2226b184.zip
Remove shadowing variable from traverse_trees()
The variable named entry is allocated using malloc() and then forgotten, it being shadowed by an automatic variable of the same name. Fixing the array size at 3 worked so far because the only caller of traverse_trees() needed only as much entries. Simply remove the shadowing varaible and we're able to traverse more than three trees and save stack space at the same time! Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-svn.perl')
0 files changed, 0 insertions, 0 deletions