Commit 069f3492 authored by schurade's avatar schurade
Browse files

[FIX] removed some warnings

parent 0f482b46
......@@ -49,7 +49,7 @@ WDataSetFibers2::WDataSetFibers2( boost::shared_ptr< std::vector< float > >verti
m_lineLengths( lineLengths ),
m_verticesReverse( verticesReverse )
{
for ( int i = 0; i < m_vertices->size(); ++i )
for ( size_t i = 0; i < m_vertices->size(); ++i )
{
m_vertices->at( i ) = 160 - m_vertices->at( i );
++i;
......
......@@ -60,6 +60,7 @@ boost::shared_ptr< std::vector< bool > > WRMBranch::getBitField( unsigned int in
}
++c;
}
return boost::shared_ptr< std::vector< bool > >();
}
void WRMBranch::addBitField( size_t size )
......@@ -87,14 +88,14 @@ void WRMBranch::recalculate()
bool isnot = ( *iter )->getROI()->isNot();
if ( !isnot )
{
for ( int i = 0 ; i < mbf->size() ; ++i )
for ( size_t i = 0 ; i < mbf->size() ; ++i )
{
mbf->at( i ) = mbf->at( i ) & bf->at( i );
}
}
else
{
for ( int i = 0 ; i < mbf->size() ; ++i )
for ( size_t i = 0 ; i < mbf->size() ; ++i )
{
mbf->at( i ) = mbf->at( i ) & !bf->at( i );
}
......
......@@ -69,6 +69,7 @@ boost::shared_ptr< std::vector< bool > > WRMROIRepresentation::getBitField( unsi
}
++c;
}
return boost::shared_ptr< std::vector< bool > >();
}
void WRMROIRepresentation::addBitField( size_t size )
......
......@@ -132,6 +132,7 @@ boost::shared_ptr< std::vector< bool > > WROIManagerFibers::getBitField( boost::
}
++index;
}
return boost::shared_ptr< std::vector< bool > >();
}
void WROIManagerFibers::addBitField( size_t size )
......@@ -157,7 +158,7 @@ void WROIManagerFibers::recalculate()
{
boost::shared_ptr< std::vector< bool > > bf = ( *iter )->getBitField( 0 );
for ( int i = 0; i < mbf->size(); ++i )
for ( size_t i = 0; i < mbf->size(); ++i )
{
mbf->at( i ) = mbf->at( i ) | bf->at( i );
}
......@@ -190,6 +191,7 @@ boost::shared_ptr< const WDataSetFibers2 > WROIManagerFibers::getDataSet( unsign
}
++c;
}
return boost::shared_ptr< const WDataSetFibers2 >();
}
boost::shared_ptr< WKdTree > WROIManagerFibers::getKdTree( unsigned int index )
......@@ -203,6 +205,7 @@ boost::shared_ptr< WKdTree > WROIManagerFibers::getKdTree( unsigned int index )
}
++c;
}
return boost::shared_ptr< WKdTree >();
}
bool WROIManagerFibers::isDirty()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment