summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-10 12:53:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-10 13:02:57 +0100
commita4f72bdea4bfccc4c8b6ef140953cc375bba7d6d (patch)
treecb388af6b1980250b5b9e4a1779030b0c9296afb /vcl
parentd7e7a44ccd771f79736e8cf7de289eb6e30c0e23 (diff)
coverity#708632 Uninitialized scalar field
Change-Id: Iea0a0aae7ca4f975acc0d468ad3912c38d84d57e
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/pngread.cxx19
1 files changed, 18 insertions, 1 deletions
diff --git a/vcl/source/gdi/pngread.cxx b/vcl/source/gdi/pngread.cxx
index c5009d8586ca..04b46a632c32 100644
--- a/vcl/source/gdi/pngread.cxx
+++ b/vcl/source/gdi/pngread.cxx
@@ -175,7 +175,24 @@ PNGReaderImpl::PNGReaderImpl( SvStream& rPNGStream )
mpTransTab ( NULL ),
mpScanCurrent ( NULL ),
mpColorTable ( (sal_uInt8*) mpDefaultColorTable ),
- mnPass ( 0 ),
+ mnChunkType ( 0 ),
+ mnChunkLen ( 0 ),
+ mnBPP ( 0 ),
+ mnScansize ( 0 ),
+ mnYpos ( 0 ),
+ mnPass ( 0 ),
+ mnXStart ( 0 ),
+ mnXAdd ( 0 ),
+ mnYAdd ( 0 ),
+ mnTargetDepth ( 0 ),
+ mnTransRed ( 0 ),
+ mnTransGreen ( 0 ),
+ mnTransBlue ( 0 ),
+ mnPngDepth ( 0 ),
+ mnColorType ( 0 ),
+ mnCompressionType( 0 ),
+ mnFilterType ( 0 ),
+ mnInterlaceType ( 0 ),
mbTransparent( false ),
mbAlphaChannel( false ),
mbRGBTriple( false ),