qshader autotest: Avoid variable shadowing
Nicer this way. Change-Id: Ia132b8e394f1080623abe4b1452a41c5ca31272c Reviewed-by: Johan Helsing <johan.helsing@qt.io>
This commit is contained in:
parent
0f568d0a67
commit
052f3db7e6
@ -389,10 +389,12 @@ void tst_QShader::serializeShaderDesc()
|
||||
}
|
||||
QVERIFY(!data.isEmpty());
|
||||
|
||||
QShaderDescription desc2;
|
||||
QVERIFY(!desc2.isValid());
|
||||
QVERIFY(!(desc == desc2));
|
||||
QVERIFY(desc != desc2);
|
||||
{
|
||||
QShaderDescription desc2;
|
||||
QVERIFY(!desc2.isValid());
|
||||
QVERIFY(!(desc == desc2));
|
||||
QVERIFY(desc != desc2);
|
||||
}
|
||||
|
||||
{
|
||||
QBuffer buf(&data);
|
||||
|
Loading…
Reference in New Issue
Block a user