Remove unused variables
Noticed by gcc 4.6.0. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
c2e86addb8
commit
c0aa335c95
@ -140,11 +140,10 @@ static int traverse_reachable(void)
|
||||
int result = 0;
|
||||
while (pending.nr) {
|
||||
struct object_array_entry *entry;
|
||||
struct object *obj, *parent;
|
||||
struct object *obj;
|
||||
|
||||
entry = pending.objects + --pending.nr;
|
||||
obj = entry->item;
|
||||
parent = (struct object *) entry->name;
|
||||
result |= traverse_one_object(obj);
|
||||
}
|
||||
return !!result;
|
||||
|
||||
Reference in New Issue
Block a user