mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-08 15:14:07 -06:00
Fix warnings about "statement without effect" on gcc 7 on linux.
This commit is contained in:
parent
92f4e6278c
commit
4dfa975836
@ -251,7 +251,7 @@ bool Riv3dWellLogCurveGeometryGenerator::findClosestPointOnCurve( const cvf::Vec
|
||||
*closestPoint = cvf::Vec3d::UNDEFINED;
|
||||
*measuredDepthAtPoint = cvf::UNDEFINED_DOUBLE;
|
||||
*valueAtClosestPoint = cvf::UNDEFINED_DOUBLE;
|
||||
if ( m_curveVertices.size() < 2u ) false;
|
||||
if ( m_curveVertices.size() < 2u ) return false;
|
||||
CVF_ASSERT( m_curveVertices.size() == m_curveValues.size() );
|
||||
for ( size_t i = 1; i < m_curveVertices.size(); ++i )
|
||||
{
|
||||
|
@ -406,7 +406,7 @@ void RimFractureTemplateCollection::initAfterRead()
|
||||
else
|
||||
{
|
||||
bool anySetShowStimPlanMeshIsSetToFalse = false;
|
||||
for ( templateIt; templateIt != stimPlanFractureTemplatesInView.end(); templateIt++ )
|
||||
for ( ; templateIt != stimPlanFractureTemplatesInView.end(); templateIt++ )
|
||||
{
|
||||
if ( templateIt->first->showStimPlanMesh() == false )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user