From f286156c8e41f57d2dcccc4bb08cc2ca4ccdec8d Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Sun, 6 May 2012 07:58:17 +0530 Subject: [PATCH] No need to assign to any variable, we only need to ignore the next 4 bytes --- libraries/import/shp.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/import/shp.php b/libraries/import/shp.php index c3439a58f3..f992623c86 100644 --- a/libraries/import/shp.php +++ b/libraries/import/shp.php @@ -162,8 +162,7 @@ if (isset($plugin_list)) { function _loadHeaders() { $this->recordNumber = loadData("N", readFromBuffer(4)); - //We read the length of the record - $tmp = loadData("N", readFromBuffer(4)); + readFromBuffer(4); $this->shapeType = loadData("V", readFromBuffer(4)); }