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:
@@ -668,7 +668,6 @@ std::vector<Column> RifEclipseUserDataParserTools::columnInfoFromColumnHeaders(c
|
||||
|
||||
std::string quantity = columnLines[0];
|
||||
std::string unit;
|
||||
std::string scaling;
|
||||
|
||||
size_t startIndex = 1;
|
||||
|
||||
@@ -681,7 +680,7 @@ std::vector<Column> RifEclipseUserDataParserTools::columnInfoFromColumnHeaders(c
|
||||
|
||||
if (isScalingDetected)
|
||||
{
|
||||
scaling = columnLines[2];
|
||||
//std::string scaling = columnLines[2];
|
||||
|
||||
startIndex = 3;
|
||||
}
|
||||
|
@@ -2790,7 +2790,6 @@ void findReferenceElementForNode(const RigFemPart& part, size_t nodeIdx, size_t
|
||||
part.findIntersectingCells(bb, &refElementCandidates);
|
||||
|
||||
const RigFemPartGrid* grid = part.getOrCreateStructGrid();
|
||||
const std::vector<cvf::Vec3f>& nodeCoords = part.nodes().coordinates;
|
||||
|
||||
refElement->elementIdx = cvf::UNDEFINED_SIZE_T;
|
||||
refElement->intersectionPointToCurrentNodeDistance = std::numeric_limits<float>::infinity();
|
||||
|
@@ -384,8 +384,6 @@ cvf::ref<cvf::DrawableGeo> RivPipeGeometryGenerator::generateVariableRadiusTube(
|
||||
const cvf::Vec3dArray* cylinderCenterCoords,
|
||||
const std::vector<double>& radii)
|
||||
{
|
||||
const double epsilon = 1.0e-8;
|
||||
|
||||
CVF_ASSERT(cylinderCenterCoords != nullptr);
|
||||
|
||||
// Calculate first valid pipe direction, to be able to handle centerNodes in the same place
|
||||
|
Reference in New Issue
Block a user