From 0c75d648170b2eb42d48a2e0e5fa3005fceae4ba Mon Sep 17 00:00:00 2001 From: Adrien Crivelli Date: Mon, 26 Dec 2016 14:36:47 +0900 Subject: [PATCH] Remove unused variables --- src/PhpSpreadsheet/Calculation.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/PhpSpreadsheet/Calculation.php b/src/PhpSpreadsheet/Calculation.php index d21412e7..a9f0c2ca 100644 --- a/src/PhpSpreadsheet/Calculation.php +++ b/src/PhpSpreadsheet/Calculation.php @@ -4150,7 +4150,6 @@ class Calculation if (!isset($aReferences[1])) { // Single cell (or single column or row) in range list($currentCol, $currentRow) = Cell::coordinateFromString($aReferences[0]); - $cellValue = null; if ($pSheet->cellExists($aReferences[0])) { $returnValue[$currentRow][$currentCol] = $pSheet->getCell($aReferences[0])->getCalculatedValue($resetLog); } else { @@ -4161,7 +4160,6 @@ class Calculation foreach ($aReferences as $reference) { // Extract range list($currentCol, $currentRow) = Cell::coordinateFromString($reference); - $cellValue = null; if ($pSheet->cellExists($reference)) { $returnValue[$currentRow][$currentCol] = $pSheet->getCell($reference)->getCalculatedValue($resetLog); } else {