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

Michael Stahl mstahl at redhat.com
Thu Nov 13 04:30:06 PST 2014


 vcl/source/gdi/bitmap4.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d7b8a41282800e9e7d2b44deae372dd23435e444
Author: Michael Stahl <mstahl at redhat.com>
Date:   Thu Nov 13 13:23:55 2014 +0100

    spurious warning C4701: potentially uninitialized local variable
    
    Change-Id: Ie1353d0251fab6f12b34fbd5d2d25d8b6e3e3c6b

diff --git a/vcl/source/gdi/bitmap4.cxx b/vcl/source/gdi/bitmap4.cxx
index 9236308..ced810a 100644
--- a/vcl/source/gdi/bitmap4.cxx
+++ b/vcl/source/gdi/bitmap4.cxx
@@ -788,8 +788,8 @@ bool Bitmap::ImplMosaic( const BmpFilterParam* pFilterParam, const Link* /*pProg
         }
 
         bool bConditionsMet = false;
-        long nWidth;
-        long nHeight;
+        long nWidth(0);
+        long nHeight(0);
         if (pReadAcc && pWriteAcc)
         {
             nWidth = pReadAcc->Width();


More information about the Libreoffice-commits mailing list