From e4672aefa99592e68858be536ff92a006aba4d7f Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Sat, 20 Apr 2019 13:46:12 +0200 Subject: [PATCH] #4348 System , cppcheck : Remove duplicate test --- ApplicationCode/ProjectDataModel/RimWellLogExtractionCurve.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ApplicationCode/ProjectDataModel/RimWellLogExtractionCurve.cpp b/ApplicationCode/ProjectDataModel/RimWellLogExtractionCurve.cpp index 20f2df7036..ad45826220 100644 --- a/ApplicationCode/ProjectDataModel/RimWellLogExtractionCurve.cpp +++ b/ApplicationCode/ProjectDataModel/RimWellLogExtractionCurve.cpp @@ -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; -} \ No newline at end of file +}