Fix compiler warning on platforms without QRhiNativeHandles

Pick-to: 6.1
Change-Id: I61254290853cadf3b1edf6e7b0f82bba9e8d2efe
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
bb10
Volker Hilsheimer 2021-04-11 11:09:00 +02:00
parent e90dda7314
commit 019f35524d
1 changed files with 1 additions and 1 deletions

View File

@ -447,7 +447,7 @@ void tst_QRhi::nativeHandles()
QVERIFY(result == QRhi::FrameOpSuccess);
QVERIFY(cb);
const QRhiNativeHandles *cbHandles = cb->nativeHandles();
Q_DECL_UNUSED const QRhiNativeHandles *cbHandles = cb->nativeHandles();
// no null check here, backends where not applicable will return null
switch (impl) {