From 6efbc4598aea1e87c1569c7beef13d44b1a4202c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 2 Apr 2014 09:13:37 +0100 Subject: valgrind: Conditional jump or move depends on uninitialised value Change-Id: I1939d376afe5dd5c67f378ffb2520a066dc99077 --- tools/source/generic/poly.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx index 0c04fc534051..c0546d2d2278 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 ); -- cgit