mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
CppCheck : Remove unused variables
This commit is contained in:
@@ -46,8 +46,6 @@ void RicFishbonesTransmissibilityCalculationFeatureImp::findFishboneLateralsWell
|
||||
RiaEclipseUnitTools::UnitSystem unitSystem = caseData->unitsType();
|
||||
bool isMainBore = false;
|
||||
|
||||
std::vector<RigCompletionData> completionData;
|
||||
|
||||
for (const WellSegmentLocation& location : locations)
|
||||
{
|
||||
for (const WellSegmentLateral& lateral : location.laterals)
|
||||
|
||||
@@ -691,8 +691,6 @@ void RigCaseCellResultsData::setMustBeCalculated(size_t scalarResultIndex)
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RigCaseCellResultsData::eraseAllSourSimData()
|
||||
{
|
||||
std::vector<size_t> sourSimIndices;
|
||||
|
||||
for (size_t i = 0; i < m_resultInfos.size(); i++)
|
||||
{
|
||||
RigEclipseResultInfo& ri = m_resultInfos[i];
|
||||
|
||||
@@ -92,7 +92,6 @@ RigNumberOfFloodedPoreVolumesCalculator::RigNumberOfFloodedPoreVolumesCalculator
|
||||
// SWCR if defined
|
||||
|
||||
const std::vector<double>* swcrResults = nullptr;
|
||||
std::vector<double> swcrActiveCellsResultStorage;
|
||||
swcrResults = getResultIndexableStaticResult(actCellInfo, gridCellResults, "SWCR", porvActiveCellsResultStorage);
|
||||
|
||||
std::vector<size_t> scalarResultIndexTracers;
|
||||
|
||||
@@ -485,8 +485,7 @@ public:
|
||||
resultsToAdd->at(tsId).resize(connectionCount, HUGE_VAL);
|
||||
}
|
||||
|
||||
std::vector<double> readBuffer;
|
||||
double * internalMatrixData = nullptr;
|
||||
double* internalMatrixData = nullptr;
|
||||
|
||||
QDataStream socketStream(currentClient);
|
||||
socketStream.setVersion(riOctavePlugin::qtDataStreamVersion);
|
||||
|
||||
Reference in New Issue
Block a user