summaryrefslogtreecommitdiff
path: root/app/x11perf
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2015-01-25 12:03:11 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2015-01-25 12:03:11 +0000
commit1ae89ce2b99d90282d46144092ebfbfab4a4eae8 (patch)
tree5528bf5a5a973a041b97618fb26183be373ba102 /app/x11perf
parent2d45f7e075bc40b4ffd98a5fbeed7406f8f99a4b (diff)
remove srand(1) call as nothing calls any rand like functions in x11perf
Discussed with doug@ and also pushed upstreams
Diffstat (limited to 'app/x11perf')
-rw-r--r--app/x11perf/x11perf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/x11perf/x11perf.c b/app/x11perf/x11perf.c
index c5129d7fb..feed17386 100644
--- a/app/x11perf/x11perf.c
+++ b/app/x11perf/x11perf.c
@@ -853,7 +853,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);