summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-07-14 11:04:23 +0000
committerKurt Zenker <kz@openoffice.org>2005-07-14 11:04:23 +0000
commit582fd2994aad028677845b9ff54648cf92db9695 (patch)
tree3054cdb84905d01f883e616d05c8b7ca97a5ba9f /vcl
parent4afe95fee0fb3f20eac9eb914d16bc987b1eefcf (diff)
INTEGRATION: CWS vgvalgrind (1.8.50); FILE MERGED
2005/05/20 12:03:33 vg 1.8.50.1: #122920# initialize variables before use
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/pngread.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/gdi/pngread.cxx b/vcl/source/gdi/pngread.cxx
index 7f2f78bd6c0b..e3351dee02e6 100644
--- a/vcl/source/gdi/pngread.cxx
+++ b/vcl/source/gdi/pngread.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: pngread.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: rt $ $Date: 2005-03-29 12:57:49 $
+ * last change: $Author: kz $ $Date: 2005-07-14 12:04:23 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -149,7 +149,7 @@ const sal_Bool InitChunkSeq( SvStream& rStm, std::vector< vcl::PNGReader::ChunkD
sal_uInt16 nIStmOldMode = rStm.GetNumberFormatInt();
rStm.SetNumberFormatInt( NUMBERFORMAT_INT_BIGENDIAN );
- sal_uInt32 nDummy[ 2 ];
+ sal_uInt32 nDummy[ 2 ] = {0, 0};
rStm >> nDummy[0] >> nDummy[1];
if( ! ( nDummy[0] == 0x89504e47 ) && ( nDummy[1] == 0x0d0a1a0a ) )
bRet = sal_False;