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

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


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

New commits:
commit 1742008dd0d83f3e69b6e09d9e3223d0c5d28096
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)

diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx
index 31a9bf8..b077e62 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