mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix warnings about "statement without effect" on gcc 7 on linux.
This commit is contained in:
committed by
Magne Sjaastad
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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user