From 9a8df1731f0afc4fb22435c0ae0e3b0501dec0a4 Mon Sep 17 00:00:00 2001 From: Glen Stampoultzis Date: Mon, 11 Feb 2002 09:00:19 +0000 Subject: [PATCH] Removed an unused variable git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352087 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/hssf/record/RecordFactory.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/java/org/apache/poi/hssf/record/RecordFactory.java b/src/java/org/apache/poi/hssf/record/RecordFactory.java index e3a6b18ea..08fc121ca 100644 --- a/src/java/org/apache/poi/hssf/record/RecordFactory.java +++ b/src/java/org/apache/poi/hssf/record/RecordFactory.java @@ -133,7 +133,6 @@ public class RecordFactory { ArrayList records = new ArrayList(NUM_RECORDS); Record last_record = null; - int loc = 0; try { @@ -143,14 +142,12 @@ public class RecordFactory do { rectype = LittleEndian.readShort(in); - loc += 2; if (rectype != 0) { short recsize = LittleEndian.readShort(in); byte[] data = new byte[ ( int ) recsize ]; in.read(data); - loc += recsize; offset += 4 + recsize; Record[] recs = createRecord(rectype, recsize, data); // handle MulRK records