revwalk: do not re-declare commit variable

This commit is contained in:
Patrick Steinhardt 2016-11-25 15:00:50 +01:00
parent 8468a44067
commit 013ecb4f2a

View File

@ -290,7 +290,7 @@ static void mark_parents_uninteresting(git_commit_list_node *commit)
while (parents) {
git_commit_list_node *commit = git_commit_list_pop(&parents);
commit = git_commit_list_pop(&parents);
while (commit) {
if (commit->uninteresting)