summaryrefslogtreecommitdiff
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:16:24 +0100
commit1742008dd0d83f3e69b6e09d9e3223d0c5d28096 (patch)
tree36636ac79fc80349a8c49f07a74cbcb57dc8b63f
parent4e2c5ffa89b77e4d6b0a1dc964d330d2ae3636d6 (diff)
valgrind: Conditional jump or move depends on uninitialised value
Change-Id: I1939d376afe5dd5c67f378ffb2520a066dc99077 (cherry picked from commit 6efbc4598aea1e87c1569c7beef13d44b1a4202c)
-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 31a9bf82eafd..b077e629a3fb 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;