Resolves: coverity#1371769 'Constant' variable guards dead code
Change-Id: I95e829ecc685603e147e68b44cb403d4f010e320
This commit is contained in:
@@ -28,7 +28,7 @@ int deltaColor(BitmapColor aColor1, BitmapColor aColor2)
|
|||||||
void checkValue(Bitmap::ScopedWriteAccess& pAccess, int x, int y, Color aExpected,
|
void checkValue(Bitmap::ScopedWriteAccess& pAccess, int x, int y, Color aExpected,
|
||||||
int& nNumberOfQuirks, int& nNumberOfErrors, bool bQuirkMode, int nColorDeltaThresh = 0)
|
int& nNumberOfQuirks, int& nNumberOfErrors, bool bQuirkMode, int nColorDeltaThresh = 0)
|
||||||
{
|
{
|
||||||
bool bColorize = false;
|
const bool bColorize = false;
|
||||||
Color aColor = pAccess->GetPixel(y, x);
|
Color aColor = pAccess->GetPixel(y, x);
|
||||||
int nColorDelta = deltaColor(aColor, aExpected);
|
int nColorDelta = deltaColor(aColor, aExpected);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user