threads / patch / 43422

patchremove an unneeded test

Subject: [PATCH] remove an unneeded test

## tl;dr

2 messages between Nov 7, 2006 and Nov 8, 2006. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Tero Roponen· Nov 7, 2006, 10:44 UTC · lore

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

Signed-off-by: Tero Roponen <teanropo@jyu.fi>
Show changes to wt-status.c +0 −2
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')
Jeff King· Nov 8, 2006, 01:15 UTC · re: Tero Roponen · lore

Re: [PATCH] remove an unneeded test

On Tue, Nov 07, 2006 at 12:44:33PM +0200, Tero Roponen wrote:
> In wt-status.c there is a test which does nothing.
> This patch removes it.

Junio, please apply. This is leftover from an edit; there's no missing statement which is supposed to go there.

← back to recent threads