mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
qgsgeometrygapcheck.cpp: fix false-positive warning about potentially unused variable
This commit is contained in:
parent
8de4821f8d
commit
6e81d1f5bf
@ -339,7 +339,7 @@ bool QgsGeometryGapCheck::mergeWithNeighbor( const QMap<QString, QgsFeaturePool
|
||||
const QgsAbstractGeometry *testGeom = featureGeom.constGet();
|
||||
for ( int iPart = 0, nParts = testGeom->partCount(); iPart < nParts; ++iPart )
|
||||
{
|
||||
double val;
|
||||
double val = 0;
|
||||
switch ( condition )
|
||||
{
|
||||
case LongestSharedEdge:
|
||||
|
Loading…
x
Reference in New Issue
Block a user