[Libreoffice-commits] core.git: basegfx/source
Stephan Bergmann
sbergman at redhat.com
Fri Apr 13 11:24:19 UTC 2018
basegfx/source/polygon/b2dpolygontools.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 4bf1bf9dd4598f34e43c7c8a69f3665175c3cae5
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Apr 13 10:29:18 2018 +0200
-Werror,-Wself-assign
...ever since 2bd76c3928d6250c287fb8910e8843d035100e5e "INTEGRATION: CWS aw033",
and looks like it wants to use the
aRetval = rCandidate.getB2DPoint(nIndex);
already assigned to it ahead of the if/else branches.
Change-Id: Iac242281312fe28b9a17a6a2a930e9597f77b7aa
Reviewed-on: https://gerrit.libreoffice.org/52811
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx
index c4499f7d352b..8457ff3044b9 100644
--- a/basegfx/source/polygon/b2dpolygontools.cxx
+++ b/basegfx/source/polygon/b2dpolygontools.cxx
@@ -625,7 +625,6 @@ namespace basegfx
else if(fTools::equalZero(fDistance))
{
// start point of chosen edge
- aRetval = aRetval;
}
else
{
More information about the Libreoffice-commits
mailing list