Fix warnings

This commit is contained in:
Bjørn Erik Jensen 2018-09-27 10:01:45 +02:00
parent ade352a259
commit 492904d465
2 changed files with 1 additions and 3 deletions

View File

@ -1691,7 +1691,6 @@ void RimWellLogTrack::updateFormationNamesOnPlot()
} }
std::vector<QString> formationNamesToPlot; std::vector<QString> formationNamesToPlot;
std::vector<std::pair<double, double>> yValues;
RimWellLogPlot* plot = nullptr; RimWellLogPlot* plot = nullptr;
firstAncestorOrThisOfTypeAsserted(plot); firstAncestorOrThisOfTypeAsserted(plot);
@ -1747,6 +1746,7 @@ void RimWellLogTrack::updateFormationNamesOnPlot()
RigFemResultAddress(RIG_FORMATION_NAMES, activeFormationNamesResultName, "")); RigFemResultAddress(RIG_FORMATION_NAMES, activeFormationNamesResultName, ""));
} }
std::vector<std::pair<double, double>> yValues;
std::vector<QString> formationNamesVector = RimWellLogTrack::formationNamesVector(m_formationCase); std::vector<QString> formationNamesVector = RimWellLogTrack::formationNamesVector(m_formationCase);
RimWellLogTrack::findFormationNamesToPlot(curveData, RimWellLogTrack::findFormationNamesToPlot(curveData,

View File

@ -295,8 +295,6 @@ void RigWellLogExtractor::populateReturnArrays(std::map<RigMDCellIdxEnterLeaveKe
++it1; // Discard 10 and jump to 11 and hope that recovers us ++it1; // Discard 10 and jump to 11 and hope that recovers us
continue; continue;
} }
CVF_ASSERT(false); // Should never end here
} }
} }
} }