1. mst
  2. ooo340

Commits

Eike Rathke [er]  committed 346e0be

calcishmakkica: init vars

  • Participants
  • Parent commits 2416feb
  • Branches default

Comments (0)

Files changed (1)

File sc/source/core/tool/interpr1.cxx

View file
  • Ignore whitespace
         size_t nRefInList = 0;
         while (nParam-- > 0)
         {
-            SCCOL nCol1;
-            SCROW nRow1;
-            SCTAB nTab1;
-            SCCOL nCol2;
-            SCROW nRow2;
-            SCTAB nTab2;
+            SCCOL nCol1 = 0;
+            SCROW nRow1 = 0;
+            SCTAB nTab1 = 0;
+            SCCOL nCol2 = 0;
+            SCROW nRow2 = 0;
+            SCTAB nTab2 = 0;
             ScMatrixRef pQueryMatrix;
             switch ( GetStackType() )
             {
             // take range
             nParam = 1;
             nRefInList = 0;
-            SCCOL nCol1;
-            SCROW nRow1;
-            SCTAB nTab1;
-            SCCOL nCol2;
-            SCROW nRow2;
-            SCTAB nTab2;
+            SCCOL nCol1 = 0;
+            SCROW nRow1 = 0;
+            SCTAB nTab1 = 0;
+            SCCOL nCol2 = 0;
+            SCROW nRow2 = 0;
+            SCTAB nTab2 = 0;
             ScMatrixRef pQueryMatrix;
             switch ( GetStackType() )
             {
             nParam = 1;
             nRefInList = 0;
             bool bNull = true;
-            SCCOL nMainCol1;
-            SCROW nMainRow1;
-            SCTAB nMainTab1;
-            SCCOL nMainCol2;
-            SCROW nMainRow2;
-            SCTAB nMainTab2;
+            SCCOL nMainCol1 = 0;
+            SCROW nMainRow1 = 0;
+            SCTAB nMainTab1 = 0;
+            SCCOL nMainCol2 = 0;
+            SCROW nMainRow2 = 0;
+            SCTAB nMainTab2 = 0;
             ScMatrixRef pMainMatrix;
             switch ( GetStackType() )
             {