mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4348 System , cppcheck : Remove unused variables
This commit is contained in:
@@ -94,7 +94,6 @@ cvf::ref<RigPolyLinesData> RimUserDefinedPolylinesAnnotation::polyLinesData()
|
||||
{
|
||||
cvf::ref<RigPolyLinesData> pld = new RigPolyLinesData;
|
||||
std::vector<cvf::Vec3d> line;
|
||||
std::vector<std::vector<cvf::Vec3d> > lines;
|
||||
for (const RimPolylineTarget* target : m_targets)
|
||||
{
|
||||
line.push_back(target->targetPointXYZ());
|
||||
|
||||
@@ -965,7 +965,6 @@ std::vector<QString> RimProject::simulationWellNames() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellPath* RimProject::wellPathFromSimWellName(const QString& simWellName, int branchIndex)
|
||||
{
|
||||
std::vector<RimWellPath*> paths;
|
||||
for (RimWellPath* const path : allWellPaths())
|
||||
{
|
||||
if (QString::compare(path->associatedSimulationWellName(), simWellName) == 0 &&
|
||||
|
||||
Reference in New Issue
Block a user