#4348 System , cppcheck : Remove duplicate test

This commit is contained in:
Magne Sjaastad 2019-04-20 13:46:12 +02:00
parent 25d5120190
commit e4672aefa9

View File

@ -287,7 +287,6 @@ void RimWellLogExtractionCurve::fieldChangedByUi(const caf::PdmFieldHandle* chan
this->loadDataAndUpdate(true);
}
else if (changedField == &m_branchDetection ||
changedField == &m_branchIndex ||
changedField == &m_branchIndex)
{
clearGeneratedSimWellPaths();
@ -979,4 +978,4 @@ void RimWellLogExtractionCurve::setBranchDetection(bool branchDetection)
void RimWellLogExtractionCurve::setBranchIndex(int index)
{
m_branchIndex = index;
}
}