Skip to content
Snippets Groups Projects
Commit 8cad73a1 authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

WRG: fix warning in the PointSetFileReader

parent 4d7daae6
No related branches found
No related tags found
No related merge requests found
...@@ -134,7 +134,7 @@ void PointSetFileReader<TOutputPointSet> ...@@ -134,7 +134,7 @@ void PointSetFileReader<TOutputPointSet>
if (PointType::PointDimension == 2) if (PointType::PointDimension == 2)
{ {
LASPointH pt = LASPoint_Create(); LASPointH pt = LASPoint_Create();
while (pt = LASReader_GetNextPoint(reader)) while ((pt = LASReader_GetNextPoint(reader)))
{ {
PointType point; PointType point;
...@@ -153,7 +153,7 @@ void PointSetFileReader<TOutputPointSet> ...@@ -153,7 +153,7 @@ void PointSetFileReader<TOutputPointSet>
else if (PointType::PointDimension == 3) else if (PointType::PointDimension == 3)
{ {
LASPointH p = LASPoint_Create(); LASPointH p = LASPoint_Create();
while (p = LASReader_GetNextPoint(reader)) while ((p = LASReader_GetNextPoint(reader)))
{ {
//liblas::Point const& p = reader.GetPoint(); //liblas::Point const& p = reader.GetPoint();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment