[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - tools/source

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


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

New commits:
commit 8ee76a3e8a3f4e954a280b38236766419956e2c6
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
    (cherry picked from commit 6efbc4598aea1e87c1569c7beef13d44b1a4202c)
    (cherry picked from commit 1742008dd0d83f3e69b6e09d9e3223d0c5d28096)

diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx
index c83282c..828420a 100644
--- a/tools/source/generic/poly.cxx
+++ b/tools/source/generic/poly.cxx
@@ -1650,7 +1650,7 @@ SvStream& operator<<( SvStream& rOStream, const Polygon& rPoly )
 
 void Polygon::ImplRead( SvStream& rIStream )
 {
-    sal_uInt8   bHasPolyFlags;
+    sal_uInt8 bHasPolyFlags(0);
 
     rIStream >> *this
              >> bHasPolyFlags;


More information about the Libreoffice-commits mailing list