You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by pf...@apache.org on 2015/12/02 06:09:40 UTC

svn commit: r1717569 - /openoffice/trunk/main/basic/source/runtime/methods1.cxx

Author: pfg
Date: Wed Dec  2 05:09:40 2015
New Revision: 1717569

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

CID:	707498 

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

Modified: openoffice/trunk/main/basic/source/runtime/methods1.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/basic/source/runtime/methods1.cxx?rev=1717569&r1=1717568&r2=1717569&view=diff
==============================================================================
--- openoffice/trunk/main/basic/source/runtime/methods1.cxx (original)
+++ openoffice/trunk/main/basic/source/runtime/methods1.cxx Wed Dec  2 05:09:40 2015
@@ -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);