Skip to content

Commit

Permalink
remove an unneeded test
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tero Roponen authored and Junio C Hamano committed Nov 7, 2006
1 parent e52775f commit 0623421
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions wt-status.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0623421

Please sign in to comment.