Skip to content

Commit

Permalink
clean up unused var warning
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Jun 17, 2013
1 parent 4ed52db commit fe7dcc0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/filters/Index.cpp
Expand Up @@ -238,13 +238,14 @@ boost::uint32_t Index::readBufferImpl(PointBuffer& data)
{
const boost::uint32_t numRead = getPrevIterator().read(data);

bool logOutput = m_stage.log()->getLevel() > logDEBUG4;

m_stage.log()->floatPrecision(8);

m_stage.log()->get(logDEBUG2) << "inserting data into index data array of capacity: " << data.getCapacity() << std::endl;

#ifdef PDAL_HAVE_FLANN


bool logOutput = m_stage.log()->getLevel() > logDEBUG4;
for (boost::uint32_t pointIndex=0; pointIndex<numRead; pointIndex++)
{
float x = static_cast<float>(getScaledValue(data, *m_xDim, pointIndex));
Expand Down

0 comments on commit fe7dcc0

Please sign in to comment.