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

Caolán McNamara caolanm at redhat.com
Wed Apr 2 01:14:23 PDT 2014


 tools/source/generic/poly.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6efbc4598aea1e87c1569c7beef13d44b1a4202c
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Apr 2 09:13:37 2014 +0100

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

diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx
index 0c04fc5..c0546d2 100644
--- a/tools/source/generic/poly.cxx
+++ b/tools/source/generic/poly.cxx
@@ -1598,7 +1598,7 @@ SvStream& WritePolygon( SvStream& rOStream, const Polygon& rPoly )
 
 void Polygon::ImplRead( SvStream& rIStream )
 {
-    sal_uInt8   bHasPolyFlags;
+    sal_uInt8 bHasPolyFlags(0);
 
     ReadPolygon( rIStream, *this );
     rIStream.ReadUChar( bHasPolyFlags );


More information about the Libreoffice-commits mailing list