summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-02 09:13:37 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-02 09:13:37 +0100
commit6efbc4598aea1e87c1569c7beef13d44b1a4202c (patch)
treeaea8b4a1f8f021f4fb44d244f47e33e6be6dde45 /tools
parente326b5e06d74685b1853d61c465e5be0b5bf1595 (diff)
valgrind: Conditional jump or move depends on uninitialised value
Change-Id: I1939d376afe5dd5c67f378ffb2520a066dc99077
Diffstat (limited to 'tools')
-rw-r--r--tools/source/generic/poly.cxx2
1 files changed, 1 insertions, 1 deletions
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 );