Prechádzať zdrojové kódy

Merge branch '213-fix-unused-warning-in-ctkTransferFunctionRepresentation'

* 213-fix-unused-warning-in-ctkTransferFunctionRepresentation:
  Fix unused warning in ctkTransferFunctionRepresentation
Jean-Christophe Fillion-Robin 13 rokov pred
rodič
commit
ab8c770165

+ 0 - 2
Libs/Core/ctkTransferFunctionRepresentation.cpp

@@ -248,7 +248,6 @@ void ctkTransferFunctionRepresentation::computeCurve()
     else //dynamic_cast<ctkBezierControlPoint*>(startCP))
       {
       QList<ctkPoint> points = this->bezierParams(startCP, nextCP);
-      QList<ctkPoint>::iterator it = points.begin();
       QList<QPointF> bezierPoints;
       foreach(const ctkPoint& p, points)
         {
@@ -331,7 +330,6 @@ void ctkTransferFunctionRepresentation::computeGradient()
     else //dynamic_cast<ctkBezierControlPoint*>(startCP))
       { // TODO handle bezier points with color
       QList<ctkPoint> points = this->bezierParams(startCP, nextCP);
-      QList<ctkPoint>::iterator it = points.begin();
       QList<QPointF> bezierPoints;
       foreach(const ctkPoint& p, points)
         {