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>
Tero Roponen committed
Nov 7, 2006 at 12:44 UTC
0623421b0beb5dc4bbe4eb598275e2a608226dec
1 file changed
-2
wt-status.c
-2
@@ -104,8 +104,6 @@ static void wt_status_print_updated_cb(struct diff_queue_struct *q,
104
struct wt_status *s = data;
105
int shown_header = 0;
106
int i;
107
- if (q->nr) {
108
- }
107
for (i = 0; i < q->nr; i++) {
108
if (q->queue[i]->status == 'U')
109
continue;