Skip to content
Permalink
Browse files

[opencl] Suppress warning for unused variable

  • Loading branch information
elpaso committed Aug 8, 2018
1 parent 54b5821 commit 28169aae0d8e63aafb56acd7254d4ae504d86e4c
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/src/core/testqgsopenclutils.cpp
@@ -205,7 +205,7 @@ void TestQgsOpenClUtils::_testMakeHillshade( const QString title, const int loop
QgsHillshadeRenderer renderer( mFloat32RasterLayer->dataProvider(), 1, 35.0, 5000.0 );
// Note: CPU time grows linearly with raster dimensions while GPU time is roughly constant
// 900x900 px gives even times on my testing machine
QgsRasterBlock *block = renderer.block( 0, mFloat32RasterLayer->extent(), 900, 900 );
renderer.block( 0, mFloat32RasterLayer->extent(), 900, 900 );
}
qDebug() << QStringLiteral( "%1 average for %2 loops: %3 ms" )
.arg( title )

0 comments on commit 28169aa

Please sign in to comment.
You can’t perform that action at this time.