From 4bf1bf9dd4598f34e43c7c8a69f3665175c3cae5 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 13 Apr 2018 10:29:18 +0200 Subject: -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 Reviewed-by: Stephan Bergmann --- basegfx/source/polygon/b2dpolygontools.cxx | 1 - 1 file changed, 1 deletion(-) 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 { -- cgit