[Libreoffice-commits] core.git: vcl/source

Caolán McNamara caolanm at redhat.com
Sun Oct 11 05:19:47 PDT 2015


 vcl/source/gdi/impimage.cxx |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

New commits:
commit 33d3d67c5916fe0f61c05be4c3396d093cc6f871
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Oct 11 13:18:42 2015 +0100

    valgrind: Conditional jump or move depends on uninitialised value
    
    Change-Id: Ia9b95232f14b2a6f5c06c0720a91f44217f5c80c

diff --git a/vcl/source/gdi/impimage.cxx b/vcl/source/gdi/impimage.cxx
index 44720b1..d3f63f4 100644
--- a/vcl/source/gdi/impimage.cxx
+++ b/vcl/source/gdi/impimage.cxx
@@ -138,10 +138,11 @@ ImplImage::~ImplImage()
     }
 }
 
-ImplImageBmp::ImplImageBmp() :
-    mpDisplayBmp( NULL ),
-    mpInfoAry( NULL ),
-    mnSize( 0 )
+ImplImageBmp::ImplImageBmp()
+    : maBitmapChecksum(0)
+    , mpDisplayBmp(nullptr)
+    , mpInfoAry(nullptr)
+    , mnSize(0)
 {
 }
 


More information about the Libreoffice-commits mailing list