diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-03-31 21:35:45 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-01 10:38:26 +0100 |
commit | 8fdd994aa793664652da2794b46d3a63a237b189 (patch) | |
tree | 3b2c77718a48f563c3feb57df77fe437fa8742a2 | |
parent | baa6b723d1c03348973bd80da529b3c4b8ab9a8e (diff) |
coverity#984038 Uninitialized scalar variable
Change-Id: Ibab4b201d9412e0d32630957d4c85762c28974bc
-rw-r--r-- | basegfx/source/polygon/b2dpolypolygontools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basegfx/source/polygon/b2dpolypolygontools.cxx b/basegfx/source/polygon/b2dpolypolygontools.cxx index d7b2b5fb236d..35bc6ed14d47 100644 --- a/basegfx/source/polygon/b2dpolypolygontools.cxx +++ b/basegfx/source/polygon/b2dpolypolygontools.cxx @@ -355,7 +355,7 @@ namespace basegfx { const B2DPolygon aCandidate(rCandidate.getB2DPolygon(a)); sal_uInt32 nNewEdgeIndex; - double fNewCut; + double fNewCut(0.0); const double fNewDistance(getSmallestDistancePointToPolygon(aCandidate, rTestPoint, nNewEdgeIndex, fNewCut)); if(DBL_MAX == fRetval || fNewDistance < fRetval) |