[PATCH:xinit] Merge adjacent if (timeout) blocks

Alan Coopersmith alan.coopersmith at oracle.com
Fri Jan 28 18:53:53 PST 2011


Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
 xinit.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/xinit.c b/xinit.c
index 2b3842e..42ff008 100644
--- a/xinit.c
+++ b/xinit.c
@@ -380,9 +380,8 @@ processTimeout(int timeout, char *string)
             else
                 fprintf(stderr, ".");
             fflush(stderr);
-        }
-        if (timeout)
             sleep(1);
+        }
         if (++i > timeout)
             break;
     }
-- 
1.7.3.2



More information about the xorg-devel mailing list