tst_bench_QUuid: eliminate an unused variable

Fixes a warning while compiling.

Change-Id: I6d463d5ab6e95714fcf96a883577249593490380
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
Edward Welbourne 2016-10-19 13:13:10 +02:00
parent 91f3687ee5
commit d4a5ea2d4a

View File

@ -138,13 +138,12 @@ void tst_bench_QUuid::createUuidV5()
void tst_bench_QUuid::toDataStream()
{
QUuid uuid1, uuid2;
uuid1 = QUuid::createUuid();
QUuid uuid = QUuid::createUuid();
QByteArray ar;
{
QDataStream out(&ar,QIODevice::WriteOnly);
QBENCHMARK {
out << uuid1;
out << uuid;
}
}
}