# [PATCH] remove an unneeded test

2 messages from 2006-11-07 to 2006-11-08. Participants: Tero Roponen, Jeff King.
Thread: https://gitlist.dev/t/43422

## Tero Roponen, 2006-11-07 10:44

Subject: [PATCH] remove an unneeded test
Message-ID: <Pine.LNX.4.64.0611071239560.18014@jalava.cc.jyu.fi>
URL: https://gitlist.dev/e/Pine.LNX.4.64.0611071239560.18014%40jalava.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')

```

## Jeff King, 2006-11-08 01:15

Subject: Re: [PATCH] remove an unneeded test
Message-ID: <20061108011549.GA11971@coredump.intra.peff.net>
URL: https://gitlist.dev/e/20061108011549.GA11971%40coredump.intra.peff.net
In-Reply-To: <Pine.LNX.4.64.0611071239560.18014@jalava.cc.jyu.fi>

```
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.


```
