From c50814ac4e64b83df7b26cd48d2b7d2e53c6c064 Mon Sep 17 00:00:00 2001 From: Synchro Date: Mon, 9 Nov 2015 14:15:29 +0100 Subject: [PATCH] Remove unused local var, function returns void anyway --- src/PhpSpreadsheet/Reader/Excel5.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PhpSpreadsheet/Reader/Excel5.php b/src/PhpSpreadsheet/Reader/Excel5.php index cd859d13..e5722894 100644 --- a/src/PhpSpreadsheet/Reader/Excel5.php +++ b/src/PhpSpreadsheet/Reader/Excel5.php @@ -428,7 +428,7 @@ class Excel5 extends BaseReader implements IReader $ole = new \PhpSpreadsheet\Shared\OLERead(); // get excel data - $res = $ole->read($pFilename); + $ole->read($pFilename); return true; } catch (\PhpSpreadsheet\Exception $e) { @@ -1258,7 +1258,7 @@ class Excel5 extends BaseReader implements IReader // OLE reader $ole = new \PhpSpreadsheet\Shared\OLERead(); // get excel data, - $res = $ole->read($pFilename); + $ole->read($pFilename); // Get workbook data: workbook stream + sheet streams $this->data = $ole->getStream($ole->wrkbook); // Get summary information data