Skip to content

Commit

Permalink
Mark srsDimesion unused - see 93e0259#commitcomment-2871379
Browse files Browse the repository at this point in the history
  • Loading branch information
timlinux committed Mar 30, 2013
1 parent 5602c8e commit fb0ab57
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/core/qgsogcutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ bool QgsOgcUtils::readGMLPositions( std::list<QgsPoint>& coords, const QDomEleme
{
//tupel and coord separator are the same
QString coordSeparator = " ";
QString tupelSeparator = " ";
QString tupleSeparator = " ";
//"decimal" has to be "."


Expand Down Expand Up @@ -893,7 +893,9 @@ bool QgsOgcUtils::readGMLPositions( std::list<QgsPoint>& coords, const QDomEleme
srsDimension = 2;
}
}

//srsDimension was added by rdlhont for future support of 3d geometries
//currently it is unused so I have marked it as such. TS
Q_UNUSED(srsDimension);
for ( int i = 0; i < posSize / srsDimension; i++ )
{
x = pos.at( i * srsDimension ).toDouble( &conversionSuccess );
Expand Down Expand Up @@ -974,6 +976,10 @@ QgsRectangle QgsOgcUtils::rectangleFromGMLEnvelope( const QDomNode& envelopeNode
srsDimension = 2;
}
}
//srsDimension was added by rdlhont for future support of 3d geometries
//currently it is unused so I have marked it as such. TS
Q_UNUSED(srsDimension);

bString = elem.text();
double xmax = bString.section( " ", 0, 0 ).toDouble( &conversionSuccess );
if ( !conversionSuccess )
Expand Down

0 comments on commit fb0ab57

Please sign in to comment.