From beb8010ded69cf3d5eec293d8b855cc40dec6e55 Mon Sep 17 00:00:00 2001 From: Glen Stampoultzis Date: Mon, 11 Feb 2002 09:00:19 +0000 Subject: 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(-) (limited to 'src') diff --git a/src/java/org/apache/poi/hssf/record/RecordFactory.java b/src/java/org/apache/poi/hssf/record/RecordFactory.java index e3a6b18ea4..08fc121ca3 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 -- cgit v1.2.3