mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
CppCheck : Make sure all variables are initialized in constructor
This commit is contained in:
@@ -246,9 +246,11 @@ RigCompletionData::CompletionType RicMswPerforationICV::completionType() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RicMswPerforationAICD::RicMswPerforationAICD(const QString& label,
|
||||
const RimWellPathValve* wellPathValve)
|
||||
RicMswPerforationAICD::RicMswPerforationAICD(const QString& label, const RimWellPathValve* wellPathValve)
|
||||
: RicMswValve(label, wellPathValve)
|
||||
, m_valid(false)
|
||||
, m_deviceOpen(false)
|
||||
, m_length(0.0)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -178,4 +178,4 @@ private:
|
||||
bool m_deviceOpen;
|
||||
std::array<double, AICD_NUM_PARAMS> m_parameters;
|
||||
double m_length;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user