git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] remove unused variable

From
Alex Riesen <raa.lkml@gmail.com>
Date
Nov 22, 2005, 14:58 UTC
Message-ID
<81b0412b0511220658y31e7d0feuea0729706ca3a11d@mail.gmail.com>
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

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
Message 1 of 1 in “remove unused variable”
  1. remove unused variableAlex Riesen, Nov 22, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.