threads / patch / 2651

patchremove unused variable

Subject: [PATCH] remove unused variable

## tl;dr

One message between Nov 22, 2005 and Nov 22, 2005. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Alex Riesen· Nov 22, 2005, 14:58 UTC · lore
It is just assigned, nothing more.
Subject: [PATCH] remove unused variable
Signed-off-by: Alex Riesen <ariesen@harmanbecker.com>
---
 pack-redundant.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

applies-to: da2488b3948b36edb6f468ad16e247d500679f01 0aeca0da8c4184a8ace0f70ff611527c7f2df75a

Show changes to pack-redundant.c +0 −2
diff --git a/pack-redundant.c b/pack-redundant.c
index 3681170..8b37da9 100644
--- a/pack-redundant.c
+++ b/pack-redundant.c
@@ -493,12 +493,10 @@ static void load_all_objects(void)
 {
 	struct pack_list *pl = local_packs;
 	struct llist_item *hint, *l;
-	int i;
 
 	llist_init(&all_objects);
 
 	while (pl) {
-		i = 0;
 		hint = NULL;
 		l = pl->all_objects->front;
 		while (l) {
---
0.99.9.GIT

← back to recent threads