[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - basegfx/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Fri May 31 06:38:18 UTC 2019


 basegfx/source/polygon/b2dpolygontools.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 9f986da01005324529ae82f9a8d67d31b4e70dab
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Apr 13 10:29:18 2018 +0200
Commit:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
CommitDate: Fri May 31 15:37:40 2019 +0900

    -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>
    (cherry picked from commit 4bf1bf9dd4598f34e43c7c8a69f3665175c3cae5)

diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx
index 489b77af92aa..afc1390bf24e 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