Author: pfg
Date: Wed Dec  2 04:34:56 2015
New Revision: 1717567

URL: http://svn.apache.org/viewvc?rev=1717567&view=rev
Log:
Uninitialized scalar variable

CID:    707497

Modified:
    openoffice/trunk/main/basic/source/runtime/methods.cxx

Modified: openoffice/trunk/main/basic/source/runtime/methods.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/basic/source/runtime/methods.cxx?rev=1717567&r1=1717566&r2=1717567&view=diff
==============================================================================
--- openoffice/trunk/main/basic/source/runtime/methods.cxx (original)
+++ openoffice/trunk/main/basic/source/runtime/methods.cxx Wed Dec  2 04:34:56 
2015
@@ -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 );


Reply via email to