Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #9327 from m-kuhn/fix-warning
Silence warning without opencl
  • Loading branch information
m-kuhn committed Mar 2, 2019
2 parents dcc92de + c71a040 commit acf0e19
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/analysis/testqgsrastercalculator.cpp
Expand Up @@ -729,6 +729,8 @@ void TestQgsRasterCalculator::calcFormulasWithReprojectedLayers()
if ( ! QgsOpenClUtils::available() ) if ( ! QgsOpenClUtils::available() )
return ; return ;
QgsOpenClUtils::setEnabled( useOpenCL ); QgsOpenClUtils::setEnabled( useOpenCL );
#else
Q_UNUSED( useOpenCL )
#endif #endif


QTemporaryFile tmpFile; QTemporaryFile tmpFile;
Expand Down

0 comments on commit acf0e19

Please sign in to comment.