From 88fd686126eccb2afc62c97aeebf7b1fcd104d53 Mon Sep 17 00:00:00 2001 From: ZappoMan Date: Tue, 18 Mar 2014 15:59:02 -0700 Subject: [PATCH] tweak thread tests --- tests/threads/src/SampleReadThread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/threads/src/SampleReadThread.cpp b/tests/threads/src/SampleReadThread.cpp index 129c3f098b..79693dc791 100644 --- a/tests/threads/src/SampleReadThread.cpp +++ b/tests/threads/src/SampleReadThread.cpp @@ -43,7 +43,7 @@ bool SampleReadThread::process() { for(int i = 0; i < LOTS_OF_OPERATIONS; i++) { float x = rand(); float y = rand(); - float z = x * y; + y = x * y; } } quint64 endWork = usecTimestampNow();