mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
CppCheck : Several fixes
Add missing initializers Guard potential null pointer access
This commit is contained in:
@@ -42,10 +42,13 @@ size_t findMirrorXIndex(std::vector<double> xs);
|
||||
const double RigStimPlanFractureDefinition::THRESHOLD_VALUE = 1e-5;
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RigStimPlanFractureDefinition::RigStimPlanFractureDefinition() :
|
||||
m_unitSet(RiaEclipseUnitTools::UNITS_UNKNOWN), m_topPerfTvd(HUGE_VAL), m_bottomPerfTvd(HUGE_VAL)
|
||||
RigStimPlanFractureDefinition::RigStimPlanFractureDefinition()
|
||||
: m_unitSet(RiaEclipseUnitTools::UNITS_UNKNOWN)
|
||||
, m_topPerfTvd(HUGE_VAL)
|
||||
, m_bottomPerfTvd(HUGE_VAL)
|
||||
, m_xMirrorMode(false)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user