Commit 3328f797 authored by Ivan Yossi's avatar Ivan Yossi 👌

Silence Warnings

Remove unused variables
parent ed9d1b67
...@@ -63,8 +63,6 @@ ...@@ -63,8 +63,6 @@
#define MEMALIGN_FREE(p) free((p)) #define MEMALIGN_FREE(p) free((p))
#endif #endif
const int alpha_pos = 3;
enum AlphaRange { enum AlphaRange {
ALPHA_ZERO, ALPHA_ZERO,
ALPHA_UNIT, ALPHA_UNIT,
......
...@@ -45,10 +45,10 @@ void KisGroupLayerTest::testRemoveAndUndo() ...@@ -45,10 +45,10 @@ void KisGroupLayerTest::testRemoveAndUndo()
{ {
KisSurrogateUndoStore *undoStore = new KisSurrogateUndoStore(); KisSurrogateUndoStore *undoStore = new KisSurrogateUndoStore();
QRect transpRect(50,50,300,300); // QRect transpRect(50,50,300,300);
QRect blurRect(66,66,300,300); // QRect blurRect(66,66,300,300);
QPoint blurShift(34,34); // QPoint blurShift(34,34);
QPoint cloneShift(75,75); // QPoint cloneShift(75,75);
QRect imageRect = QRect(0, 0, 64, 64); QRect imageRect = QRect(0, 0, 64, 64);
const KoColorSpace * cs = KoColorSpaceRegistry::instance()->rgb8(); const KoColorSpace * cs = KoColorSpaceRegistry::instance()->rgb8();
......
...@@ -877,7 +877,6 @@ void KisImageTest::testMergeMultiple() ...@@ -877,7 +877,6 @@ void KisImageTest::testMergeMultiple()
void testMergeCrossColorSpaceImpl(bool useProjectionColorSpace, bool swapSpaces) void testMergeCrossColorSpaceImpl(bool useProjectionColorSpace, bool swapSpaces)
{ {
QRect refRect;
TestUtil::MaskParent p; TestUtil::MaskParent p;
KisPaintLayerSP layer1; KisPaintLayerSP layer1;
......
...@@ -871,7 +871,6 @@ void checkReadWriteRoundTrip(KisPaintDeviceSP dev, ...@@ -871,7 +871,6 @@ void checkReadWriteRoundTrip(KisPaintDeviceSP dev,
{ {
KisPaintDeviceSP deviceCopy = new KisPaintDevice(*dev.data()); KisPaintDeviceSP deviceCopy = new KisPaintDevice(*dev.data());
QRect readRect(10, 10, 20, 20);
int bufSize = rc.width() * rc.height() * dev->pixelSize(); int bufSize = rc.width() * rc.height() * dev->pixelSize();
QScopedArrayPointer<quint8> buf1(new quint8[bufSize]); QScopedArrayPointer<quint8> buf1(new quint8[bufSize]);
......
...@@ -283,7 +283,6 @@ void KisTiledDataManagerTest::testBitBltOldData() ...@@ -283,7 +283,6 @@ void KisTiledDataManagerTest::testBitBltOldData()
QRect rect(0,0,512,512); QRect rect(0,0,512,512);
QRect cloneRect(81,80,250,250); QRect cloneRect(81,80,250,250);
QRect tilesRect(2,2,3,3);
quint8 *buffer = new quint8[rect.width()*rect.height()]; quint8 *buffer = new quint8[rect.width()*rect.height()];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment