diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-25 20:56:55 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-08-25 21:10:14 +0100 |
commit | 2ae6847bb15957d437702987fa4dbc9a50be9b46 (patch) | |
tree | 7b2a457f80812d6709f5eee697e681ce169a107f | |
parent | fd9e3d86951a95e6d2447a340740a8b12c0ff12a (diff) |
Resolves: coverity#1371769 'Constant' variable guards dead code
Change-Id: I95e829ecc685603e147e68b44cb403d4f010e320
-rw-r--r-- | vcl/backendtest/outputdevice/common.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/backendtest/outputdevice/common.cxx b/vcl/backendtest/outputdevice/common.cxx index ae3ef5963334..727fbcc8c767 100644 --- a/vcl/backendtest/outputdevice/common.cxx +++ b/vcl/backendtest/outputdevice/common.cxx @@ -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); |