Resolves: coverity#1371769 'Constant' variable guards dead code

Change-Id: I95e829ecc685603e147e68b44cb403d4f010e320
This commit is contained in:
Caolán McNamara
2016-08-25 20:56:55 +01:00
parent fd9e3d8695
commit 2ae6847bb1

View File

@@ -28,7 +28,7 @@ int deltaColor(BitmapColor aColor1, BitmapColor aColor2)
void checkValue(Bitmap::ScopedWriteAccess& pAccess, int x, int y, Color aExpected,
int& nNumberOfQuirks, int& nNumberOfErrors, bool bQuirkMode, int nColorDeltaThresh = 0)
{
bool bColorize = false;
const bool bColorize = false;
Color aColor = pAccess->GetPixel(y, x);
int nColorDelta = deltaColor(aColor, aExpected);