[Libreoffice-commits] .: sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Dec 22 07:24:43 PST 2012


 sc/source/core/data/dociter.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6869aaa2b36316e50b512e0ba4819743d834ceaa
Author: Tor Lillqvist <tlillqvist at suse.com>
Date:   Fri Dec 21 20:46:10 2012 +0200

    C4701: potentially uninitialized local variable 'bTestEqualCondition' used
    
    Change-Id: I01c9a166d0faabed4a92a0aa42a123432cb7e847

diff --git a/sc/source/core/data/dociter.cxx b/sc/source/core/data/dociter.cxx
index f9934e5..e343680 100644
--- a/sc/source/core/data/dociter.cxx
+++ b/sc/source/core/data/dociter.cxx
@@ -1172,7 +1172,7 @@ ScBaseCell* ScQueryCellIterator::GetThis()
                 ++nRow;
             else
             {
-                bool bTestEqualCondition;
+                bool bTestEqualCondition = false;
                 if ( (pDoc->maTabs[nTab])->ValidQuery( nRow, *mpParam,
                         (nCol == static_cast<SCCOL>(nFirstQueryField) ? pCell : NULL),
                         (nTestEqualCondition ? &bTestEqualCondition : NULL) ) )


More information about the Libreoffice-commits mailing list