From bb2c3601b2bc1f4adcd21c79501fc514ae1688f3 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Sat, 10 Jan 2015 10:46:46 +0100 Subject: remove srand(1) call as nothing calls any rand like functions in x11perf Signed-off-by: Matthieu Herrb Reviewed-by: Thomas Klausner --- x11perf.c | 1 - 1 file changed, 1 deletion(-) 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); -- cgit v1.2.3