mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Janitor : Remove unused variables
This commit is contained in:
parent
877ff8e376
commit
9f1c1264cf
@ -213,7 +213,6 @@ bool RimStimPlanModelElasticPropertyCalculator::calculate( RiaDefines::CurveProp
|
|||||||
bool isScaledByNetToGross = false;
|
bool isScaledByNetToGross = false;
|
||||||
double netToGrossCutoff = 1.0;
|
double netToGrossCutoff = 1.0;
|
||||||
QString netToGrossFaciesName = "";
|
QString netToGrossFaciesName = "";
|
||||||
QString netToGrossFormationName = "";
|
|
||||||
if ( stimPlanModel->stimPlanModelTemplate() && stimPlanModel->stimPlanModelTemplate()->nonNetLayers() )
|
if ( stimPlanModel->stimPlanModelTemplate() && stimPlanModel->stimPlanModelTemplate()->nonNetLayers() )
|
||||||
{
|
{
|
||||||
isScaledByNetToGross = stimPlanModel->isScaledByNetToGross( curveProperty ) && !netToGrossValues.empty() &&
|
isScaledByNetToGross = stimPlanModel->isScaledByNetToGross( curveProperty ) && !netToGrossValues.empty() &&
|
||||||
|
@ -73,7 +73,6 @@ bool RiuCellAndNncPickEventHandler::handle3dPickEvent( const Ric3dPickEvent& eve
|
|||||||
uint firstPartTriangleIndex = cvf::UNDEFINED_UINT;
|
uint firstPartTriangleIndex = cvf::UNDEFINED_UINT;
|
||||||
|
|
||||||
cvf::Vec3d localIntersectionPoint( cvf::Vec3d::ZERO );
|
cvf::Vec3d localIntersectionPoint( cvf::Vec3d::ZERO );
|
||||||
cvf::Vec3d globalIntersectionPoint( cvf::Vec3d::ZERO );
|
|
||||||
size_t nncIndex = cvf::UNDEFINED_SIZE_T;
|
size_t nncIndex = cvf::UNDEFINED_SIZE_T;
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -93,7 +92,6 @@ bool RiuCellAndNncPickEventHandler::handle3dPickEvent( const Ric3dPickEvent& eve
|
|||||||
if ( indexToFirstNoneNncItem != cvf::UNDEFINED_SIZE_T )
|
if ( indexToFirstNoneNncItem != cvf::UNDEFINED_SIZE_T )
|
||||||
{
|
{
|
||||||
localIntersectionPoint = pickItemInfos[indexToFirstNoneNncItem].localPickedPoint();
|
localIntersectionPoint = pickItemInfos[indexToFirstNoneNncItem].localPickedPoint();
|
||||||
globalIntersectionPoint = pickItemInfos[indexToFirstNoneNncItem].globalPickedPoint();
|
|
||||||
firstHitPart = pickItemInfos[indexToFirstNoneNncItem].pickedPart();
|
firstHitPart = pickItemInfos[indexToFirstNoneNncItem].pickedPart();
|
||||||
firstPartTriangleIndex = pickItemInfos[indexToFirstNoneNncItem].faceIdx();
|
firstPartTriangleIndex = pickItemInfos[indexToFirstNoneNncItem].faceIdx();
|
||||||
}
|
}
|
||||||
|
@ -87,7 +87,6 @@ bool RiuWellLogPlot::showYAxis( int row, int column ) const
|
|||||||
void RiuWellLogPlot::reinsertScrollbar()
|
void RiuWellLogPlot::reinsertScrollbar()
|
||||||
{
|
{
|
||||||
QList<QPointer<RiuQwtPlotWidget>> plotWidgets = this->visiblePlotWidgets();
|
QList<QPointer<RiuQwtPlotWidget>> plotWidgets = this->visiblePlotWidgets();
|
||||||
QList<QPointer<RiuQwtPlotLegend>> legends = this->legendsForVisiblePlots();
|
|
||||||
int colCount = this->m_gridLayout->columnCount();
|
int colCount = this->m_gridLayout->columnCount();
|
||||||
|
|
||||||
m_gridLayout->addLayout( m_trackScrollBarLayout, 2, colCount, 1, 1 );
|
m_gridLayout->addLayout( m_trackScrollBarLayout, 2, colCount, 1, 1 );
|
||||||
|
Loading…
Reference in New Issue
Block a user