[PATCH x11perf] remove srand(1) call as nothing calls any rand like functions in x11perf

Matthieu Herrb matthieu at herrb.eu
Sat Jan 10 01:51:12 PST 2015


Signed-off-by: Matthieu Herrb <matthieu at herrb.eu>
---
 x11perf.c | 1 -
 1 file changed, 1 deletion(-)

diff --git x11perf.c x11perf.c
index 6325ad6..3872bcb 100644
--- x11perf.c
+++ 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);
-- 
1.9.3



More information about the xorg-devel mailing list