mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add readability-simplify-boolean-expr
* Add readability-simplify-boolean-expr * Fixes based on review
This commit is contained in:
@@ -94,11 +94,7 @@ bool RigGeoMechCaseData::open( std::string* errorMessage )
|
||||
m_readerInterface = new RifOdbReader;
|
||||
#endif
|
||||
|
||||
if ( m_readerInterface.notNull() && m_readerInterface->openFile( m_geoMechCaseFileName, errorMessage ) )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return m_readerInterface.notNull() && m_readerInterface->openFile( m_geoMechCaseFileName, errorMessage );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user