CppCheck : Remove unused variables

This commit is contained in:
Magne Sjaastad
2017-09-07 22:05:20 +02:00
parent b82cf1377d
commit fb1b6cc628
10 changed files with 7 additions and 23 deletions

View File

@@ -978,14 +978,13 @@ void RifReaderEclipseOutput::sourSimRlResult(const QString& result, size_t stepI
size_t fileIndex = timeStepIndexOnFile(stepIndex);
bool readCellResultOk = m_hdfReaderInterface->dynamicResult(result, fileIndex, values);
m_hdfReaderInterface->dynamicResult(result, fileIndex, values);
if (activeCellCount != values->size())
{
values->clear();
RiaLogging::error("SourSimRL results does not match the number of active cells in the grid");
return;
}
}