From 0b85431526c511256144b7e45d8f0907e396cd36 Mon Sep 17 00:00:00 2001 From: Pavel Krajcevski Date: Mon, 14 Oct 2013 17:48:00 -0400 Subject: [PATCH] Get rid of unused variable --- PVRTCEncoder/src/Compressor.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/PVRTCEncoder/src/Compressor.cpp b/PVRTCEncoder/src/Compressor.cpp index e9f4bb9..b36d787 100644 --- a/PVRTCEncoder/src/Compressor.cpp +++ b/PVRTCEncoder/src/Compressor.cpp @@ -646,18 +646,14 @@ namespace PVRTCC { } Block *pixelBlock = &topLeftBlock; - uint32 pixelBlockIdx = topLeftBlockIdx; if(x > 1) { if(y > 1) { pixelBlock = &bottomRightBlock; - pixelBlockIdx = bottomRightBlockIdx; } else { pixelBlock = &topRightBlock; - pixelBlockIdx = topRightBlockIdx; } } else if(y > 1) { pixelBlock = &bottomLeftBlock; - pixelBlockIdx = bottomLeftBlockIdx; } assert(pixelBlockIdx < blocksW * blocksH);