summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-03-31 08:44:56 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-03-31 08:44:56 +0100
commit2ecc29df60ae3ae98605d84dc212a69907d4bfbe (patch)
tree62dd6b56c3334a2bd659517a34383ffaa93ff27b /vcl
parentf0f0d90ba613f568ffdc1531ce7c9bce23c22bcd (diff)
cppcheck: value that is never used
Change-Id: If4707a661a447e5053df83c431ac9f4dab8ff5ae
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/pngread.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/gdi/pngread.cxx b/vcl/source/gdi/pngread.cxx
index 62fc45f287cc..b4b16f937093 100644
--- a/vcl/source/gdi/pngread.cxx
+++ b/vcl/source/gdi/pngread.cxx
@@ -349,8 +349,7 @@ BitmapEx PNGReaderImpl::GetBitmapEx( const Size& rPreviewSizeHint )
}
// parse the remaining chunks
- bool bRetFromNextChunk;
- while( mbStatus && !mbIDAT && (bRetFromNextChunk = ReadNextChunk()) )
+ while (mbStatus && !mbIDAT && ReadNextChunk())
{
switch( mnChunkType )
{