summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2015-01-10 10:46:46 +0100
committerMatthieu Herrb <matthieu@herrb.eu>2015-01-13 00:02:23 +0100
commitbb2c3601b2bc1f4adcd21c79501fc514ae1688f3 (patch)
tree02924397af8e5ac1a32e8b377cd7166893d90896
parent2b5c1ff8926b82675c8db1f44de4c910dd9265a4 (diff)
remove srand(1) call as nothing calls any rand like functions in x11perf
Signed-off-by: Matthieu Herrb <matthieu@herrb.eu> Reviewed-by: Thomas Klausner <wiz@NetBSD.org>
-rw-r--r--x11perf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/x11perf.c b/x11perf.c
index 6325ad6..3872bcb 100644
--- a/x11perf.c
+++ b/x11perf.c
@@ -845,7 +845,6 @@ ProcessTest(XParms xp, Test *test, int func, unsigned long pm, char *label)
DisplayStatus(xp->d, "Calibrating", label, 0);
reps = CalibrateTest(xp, test, seconds, &time);
if (reps != 0) {
- srand(1); /* allow reproducible results */
XDestroySubwindows(xp->d, xp->w);
XClearWindow(xp->d, xp->w);
reps = (*test->init) (xp, &test->parms, reps);