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

[PATCH] remove an unneeded test

From
TRTero Roponen <teanropo@jyu.fi>
Date
Nov 7, 2006, 10:44 UTC
Message-ID
<Pine.LNX.4.64.0611071239560.18014@jalava.cc.jyu.fi>

In wt-status.c there is a test which does nothing. This patch removes it.

Signed-off-by: Tero Roponen <teanropo@jyu.fi>
diff --git a/wt-status.c b/wt-status.c
index 9692dfa..7943944 100644
--- a/wt-status.c
+++ b/wt-status.c
@@ -102,8 +102,6 @@ static void wt_status_print_updated_cb(s
 	struct wt_status *s = data;
 	int shown_header = 0;
 	int i;
-	if (q->nr) {
-	}
 	for (i = 0; i < q->nr; i++) {
 		if (q->queue[i]->status == 'U')
Next: Jeff King
Message 1 of 2 in “remove an unneeded test”
  1. remove an unneeded testTero Roponen, Nov 7, 2006
  2. Jeff KingNov 8, 2006

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.