Skip to content
Permalink
Browse files

QgsMeshContours::exportLines(): fix duplicate expression (spotted by …

…cppcheck) (#36498)
  • Loading branch information
rouault committed May 18, 2020
1 parent 9cc37a1 commit 7580d2fa53399295a587a1f2d0b4ea20496d8c4f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/analysis/mesh/qgsmeshcontours.cpp
@@ -308,7 +308,7 @@ QgsGeometry QgsMeshContours::exportLines( const QgsMeshDatasetIndex &index,

// value is outside the range
if ( ( ( value > values[0] ) && ( value > values[1] ) && ( value > values[2] ) ) ||
( ( value > values[0] ) && ( value > values[1] ) && ( value > values[2] ) ) )
( ( value < values[0] ) && ( value < values[1] ) && ( value < values[2] ) ) )
continue;

// all values are the same

0 comments on commit 7580d2f

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