diff options
author | Chris Wilson <chris+github@qwirx.com> | 2007-03-24 22:58:55 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2007-03-24 22:58:55 +0000 |
commit | 93738627ce25b28ce377fc6802ef1fa7390a58a7 (patch) | |
tree | b37fbbc48598d45f606bb3bd4eb2064d5cbb638b | |
parent | 30eec391b1be077b6ef7f97337b36ef204f10666 (diff) |
Trivial code simplification. (refs #3, merges [1444])
-rw-r--r-- | lib/common/Test.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/common/Test.h b/lib/common/Test.h index 746684df..f5b5698b 100644 --- a/lib/common/Test.h +++ b/lib/common/Test.h @@ -275,10 +275,8 @@ inline int LaunchServer(const char *pCommandLine, const char *pidFile) TEST_FAIL_WITH_MESSAGE("Server didn't save PID file"); return -1; } - else - { - ::fprintf(stdout, "done.\n"); - } + + ::fprintf(stdout, "done.\n"); // wait a second for the pid to be written to the file ::sleep(1); |