]> git.sesse.net Git - kdenlive/blobdiff - src/colortools.cpp
Fix a couple of compile warnings because of unused and uninitialized variables.
[kdenlive] / src / colortools.cpp
index d618e5383499a37223a51425ccac2407543b1fef..4353c790d9b32ad3fe0b474d1c59d742fb13a760 100644 (file)
@@ -291,7 +291,7 @@ QImage ColorTools::hsvCurvePlane(const QSize &size, const QColor &baseColor,
     Q_ASSERT(size.width() > 0);
     Q_ASSERT(size.height() > 0);
 
-    int xMax, yMax;
+    /*int xMax, yMax;
 
     switch(xVariant) {
     case COM_H:
@@ -311,7 +311,7 @@ QImage ColorTools::hsvCurvePlane(const QSize &size, const QColor &baseColor,
     case COM_V:
         yMax = 256;
         break;
-    }
+    }*/
 
 
     QImage plane(size, QImage::Format_ARGB32);