sc/source/core/data/compressedarray.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 430747397508f297be7ae1fa734a43ea705e9a43
Author: Laurent Godard <lgodard.li...@laposte.net>
Date:   Thu Oct 9 14:26:49 2014 +0200

    remove warning: ‘nIndex’ may be used uninitialized
    
    Change-Id: I317c2f4409f556ab967e4f08caa99cffcfce26cc
    Reviewed-on: https://gerrit.libreoffice.org/11876
    Reviewed-by: Kohei Yoshida <libreoff...@kohei.us>
    Tested-by: Kohei Yoshida <libreoff...@kohei.us>

diff --git a/sc/source/core/data/compressedarray.cxx 
b/sc/source/core/data/compressedarray.cxx
index 234d96b..ebe2822 100644
--- a/sc/source/core/data/compressedarray.cxx
+++ b/sc/source/core/data/compressedarray.cxx
@@ -241,7 +241,7 @@ template< typename A, typename D >
 void ScCompressedArray<A,D>::CopyFrom( const ScCompressedArray<A,D>& rArray, A 
nStart,
         A nEnd, long nSourceDy )
 {
-    size_t nIndex;
+    size_t nIndex = 0;
     A nRegionEnd;
     for (A j=nStart; j<=nEnd; ++j)
     {
@@ -373,7 +373,7 @@ void ScBitMaskCompressedArray<A,D>::CopyFromAnded(
         const ScBitMaskCompressedArray<A,D>& rArray, A nStart, A nEnd,
         const D& rValueToAnd, long nSourceDy )
 {
-    size_t nIndex;
+    size_t nIndex = 0;
     A nRegionEnd;
     for (A j=nStart; j<=nEnd; ++j)
     {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to