[Libreoffice-commits] .: binfilter/bf_sc

Caolán McNamara caolan at kemper.freedesktop.org
Wed May 16 07:06:11 PDT 2012


 binfilter/bf_sc/source/core/tool/sc_interpr1.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 49f2a0aed4b0549222cf32ef903a0507aac01893
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed May 16 13:52:12 2012 +0100

    WaE: fVal may be used uninitialized
    
    Change-Id: Ifee8b1f44868813cc7d1c02539517e8d2bf0675d

diff --git a/binfilter/bf_sc/source/core/tool/sc_interpr1.cxx b/binfilter/bf_sc/source/core/tool/sc_interpr1.cxx
index 8cccb61..82032bd 100644
--- a/binfilter/bf_sc/source/core/tool/sc_interpr1.cxx
+++ b/binfilter/bf_sc/source/core/tool/sc_interpr1.cxx
@@ -1561,7 +1561,7 @@ short ScInterpreter::IsEven()
 {
     nFuncFmtType = NUMBERFORMAT_LOGICAL;
     short nRes = 0;
-    double fVal;
+    double fVal = 0;
     switch ( GetStackType() )
     {
         case svDoubleRef :


More information about the Libreoffice-commits mailing list