basic/source/runtime/methods.cxx | 4 ++-- basic/source/runtime/methods1.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit 9471f6b668106e031b74a25460c1cf73a04cd119 Author: Pedro Giffuni <p...@apache.org> Date: Wed Dec 2 05:09:40 2015 +0000 Unitialized scalar variable CID: 707498 diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx index 102769f..fd31f36 100644 --- a/basic/source/runtime/methods1.cxx +++ b/basic/source/runtime/methods1.cxx @@ -268,7 +268,7 @@ RTLFUNC(CCur) // JSM (void)pBasic; (void)bWrite; - SbxINT64 nCur; + SbxINT64 nCur = 0; if ( rPar.Count() == 2 ) { SbxVariable *pSbxVariable = rPar.Get(1); commit f076aca3be5acbf5014f832b8bfa7cbe9b810e11 Author: Pedro Giffuni <p...@apache.org> Date: Wed Dec 2 04:59:27 2015 +0000 Unitialized scalar variable CID: 707497, (Errata: r1717567) corresponds to CID 707496) diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index e150ab2..79c6cbf 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -2048,7 +2048,7 @@ RTLFUNC(TimeValue) SbiInstance::PrepareNumberFormatter( pFormatter, n, n, n ); } - sal_uInt32 nIndex; + sal_uInt32 nIndex = 0; double fResult; sal_Bool bSuccess = pFormatter->IsNumberFormat( rPar.Get(1)->GetString(), nIndex, fResult ); commit 669fe9a61644b70b9299e78aa65b667b515c7fc7 Author: Pedro Giffuni <p...@apache.org> Date: Wed Dec 2 04:34:56 2015 +0000 Uninitialized scalar variable CID: 707497 diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx index 8e48066..e150ab2 100644 --- a/basic/source/runtime/methods.cxx +++ b/basic/source/runtime/methods.cxx @@ -1986,7 +1986,7 @@ RTLFUNC(DateValue) SbiInstance::PrepareNumberFormatter( pFormatter, n, n, n ); } - sal_uInt32 nIndex; + sal_uInt32 nIndex = 0; double fResult; String aStr( rPar.Get(1)->GetString() ); sal_Bool bSuccess = pFormatter->IsNumberFormat( aStr, nIndex, fResult ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits