#3340 Remove unused variables

This commit is contained in:
Magne Sjaastad
2018-09-10 10:27:47 +02:00
parent b81114c7d4
commit bbebbf108f
32 changed files with 5 additions and 57 deletions

View File

@@ -153,7 +153,6 @@ void RimSummaryCurveAppearanceCalculator::updateApperanceIndices()
{
{
std::map<std::string, size_t> caseAppearanceIndices = mapNameToAppearanceIndex(m_caseAppearanceType, m_allSummaryCaseNames);
int idx = 0;
for (auto& pair : m_caseToAppearanceIdxMap)
{
pair.second = static_cast<int>(caseAppearanceIndices[pair.first->summaryHeaderFilename().toUtf8().constData()]);
@@ -161,7 +160,6 @@ void RimSummaryCurveAppearanceCalculator::updateApperanceIndices()
}
{
std::map<std::string, size_t> wellAppearanceIndices = mapNameToAppearanceIndex(m_wellAppearanceType, m_allSummaryWellNames);
int idx = 0;
for (auto& pair : m_welToAppearanceIdxMap)
{
pair.second = static_cast<int>(wellAppearanceIndices[pair.first]);