Browse Source

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>
maint
Tero Roponen 18 years ago committed by Junio C Hamano
parent
commit
0623421b0b
  1. 2
      wt-status.c

2
wt-status.c

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

Loading…
Cancel
Save