Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix warnings about unused variable in RelWithDebugInfo builds
  • Loading branch information
rouault authored and nyalldawson committed Mar 4, 2021
1 parent 8c6ffc9 commit 6d40826
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/mesh/qgsmeshlayerutils.cpp
Expand Up @@ -350,7 +350,7 @@ QVector<double> QgsMeshLayerUtils::interpolateFromFacesData(
{
assert( nativeMesh );
Q_UNUSED( method );

Q_UNUSED( triangularMesh );

// assuming that native vertex count = triangular vertex count
assert( nativeMesh->vertices.size() == triangularMesh->vertices().size() );
Expand All @@ -364,6 +364,7 @@ QVector<double> QgsMeshLayerUtils::interpolateFromFacesData( const QVector<doubl
QgsMeshRendererScalarSettings::DataResamplingMethod method )
{
int vertexCount = nativeMesh.vertexCount();
Q_UNUSED( method );
assert( method == QgsMeshRendererScalarSettings::NeighbourAverage );

QVector<double> res( vertexCount, 0.0 );
Expand Down

0 comments on commit 6d40826

Please sign in to comment.