remove an unneeded test

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

Signed-off-by: Tero Roponen <teanropo@jyu.fi>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Tero Roponen 2006-11-07 12:44:33 +02:00 committed by Junio C Hamano
parent e52775f438
commit 0623421b0b

View file

@ -104,8 +104,6 @@ static void wt_status_print_updated_cb(struct diff_queue_struct *q,
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')
continue;