git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] remove an unneeded test
@ 2006-11-07 10:44 Tero Roponen
  2006-11-08  1:15 ` Jeff King
  0 siblings, 1 reply; 2+ messages in thread
From: Tero Roponen @ 2006-11-07 10:44 UTC (permalink / raw)
  To: git


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')

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-08  1:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-07 10:44 [PATCH] remove an unneeded test Tero Roponen
2006-11-08  1:15 ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).