Skip to content

Commit

Permalink
[opencl] Suppress warning for unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Aug 8, 2018
1 parent 54b5821 commit 28169aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/core/testqgsopenclutils.cpp
Expand Up @@ -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 )
Expand Down

0 comments on commit 28169aa

Please sign in to comment.