remove unnecessary initializations

[jc: I needed to hand merge the changes to the updated codebase,
 so the result needs to be checked.]

Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
David Rientjes
2006-08-15 10:23:48 -07:00
committed by Junio C Hamano
parent c9c3470aec
commit 96f1e58f52
42 changed files with 163 additions and 163 deletions

View File

@ -727,10 +727,10 @@ struct commit *pop_commit(struct commit_list **stack)
int count_parents(struct commit * commit)
{
int count = 0;
int count;
struct commit_list * parents = commit->parents;
for (count=0;parents; parents=parents->next,count++)
;
for (count = 0; parents; parents = parents->next,count++)
;
return count;
}