[Libreoffice-commits] core.git: basegfx/source

Michael Stahl mstahl at redhat.com
Thu Aug 15 03:56:34 PDT 2013


 basegfx/source/polygon/b2dpolypolygoncutter.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d82fc9a85f4b812af9e7c090c777a92600b337cf
Author: Michael Stahl <mstahl at redhat.com>
Date:   Thu Aug 15 12:52:41 2013 +0200

    warning C4701: potentially uninitialized local variable 'bChanged' used
    
    Change-Id: Ic8f60c7b04956a3b097ec3636b5561d2dd1f56b3

diff --git a/basegfx/source/polygon/b2dpolypolygoncutter.cxx b/basegfx/source/polygon/b2dpolypolygoncutter.cxx
index 22b9d4f..b93b271 100644
--- a/basegfx/source/polygon/b2dpolypolygoncutter.cxx
+++ b/basegfx/source/polygon/b2dpolypolygoncutter.cxx
@@ -664,7 +664,7 @@ namespace basegfx
                     {
                         basegfx::B2DPolygon aTemp(aRetval.getB2DPolygon(a));
                         const sal_uInt32 nPointCount(aTemp.count());
-                        bool bChanged;
+                        bool bChanged(false);
 
                         for(sal_uInt32 b(0); b < nPointCount; b++)
                         {


More information about the Libreoffice-commits mailing list