Get rid of unused variable

This commit is contained in:
Pavel Krajcevski 2013-10-14 17:48:00 -04:00
parent 4f44826056
commit 0b85431526

View file

@ -646,18 +646,14 @@ namespace PVRTCC {
} }
Block *pixelBlock = &topLeftBlock; Block *pixelBlock = &topLeftBlock;
uint32 pixelBlockIdx = topLeftBlockIdx;
if(x > 1) { if(x > 1) {
if(y > 1) { if(y > 1) {
pixelBlock = &bottomRightBlock; pixelBlock = &bottomRightBlock;
pixelBlockIdx = bottomRightBlockIdx;
} else { } else {
pixelBlock = &topRightBlock; pixelBlock = &topRightBlock;
pixelBlockIdx = topRightBlockIdx;
} }
} else if(y > 1) { } else if(y > 1) {
pixelBlock = &bottomLeftBlock; pixelBlock = &bottomLeftBlock;
pixelBlockIdx = bottomLeftBlockIdx;
} }
assert(pixelBlockIdx < blocksW * blocksH); assert(pixelBlockIdx < blocksW * blocksH);