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

New commits:
commit 9f986da01005324529ae82f9a8d67d31b4e70dab
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Fri Apr 13 10:29:18 2018 +0200
Commit:     Tomaž Vajngerl <tomaz.vajng...@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 <c...@libreoffice.org>
    Reviewed-by: Stephan Bergmann <sberg...@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
                     {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to