mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
System : Removed unused variables
This commit is contained in:
@@ -152,7 +152,6 @@ void RiuWellLogPlot::updateScrollBar(double minDepth, double maxDepth)
|
||||
double availableMaxDepth;
|
||||
m_plotDefinition->availableDepthRange(&availableMinDepth, &availableMaxDepth);
|
||||
|
||||
double availableDepth = availableMaxDepth - availableMinDepth;
|
||||
double visibleDepth = maxDepth - minDepth;
|
||||
|
||||
m_scrollBar->setRange((int) availableMinDepth, (int) (ceil(availableMaxDepth - visibleDepth)));
|
||||
|
||||
@@ -243,7 +243,7 @@ void RiuWellLogTrackPlot::selectClosestCurve(const QPoint& pos)
|
||||
{
|
||||
QwtPlotCurve* candidateCurve = static_cast<QwtPlotCurve*>(*it);
|
||||
double dist;
|
||||
int idx = candidateCurve->closestPoint(pos, &dist);
|
||||
candidateCurve->closestPoint(pos, &dist);
|
||||
if (dist < distMin)
|
||||
{
|
||||
closestCurve = candidateCurve;
|
||||
|
||||
Reference in New Issue
Block a user