summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2007-03-24 22:58:55 +0000
committerChris Wilson <chris+github@qwirx.com>2007-03-24 22:58:55 +0000
commit93738627ce25b28ce377fc6802ef1fa7390a58a7 (patch)
treeb37fbbc48598d45f606bb3bd4eb2064d5cbb638b /lib
parent30eec391b1be077b6ef7f97337b36ef204f10666 (diff)
Trivial code simplification. (refs #3, merges [1444])
Diffstat (limited to 'lib')
-rw-r--r--lib/common/Test.h6
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);