diff options
author | Glen Stampoultzis <glens@apache.org> | 2002-02-11 09:00:19 +0000 |
---|---|---|
committer | Glen Stampoultzis <glens@apache.org> | 2002-02-11 09:00:19 +0000 |
commit | beb8010ded69cf3d5eec293d8b855cc40dec6e55 (patch) | |
tree | 376261345e64f8011e615b242b6b12d1c5018eb4 /src | |
parent | 2f4ae62dafadd736f0a67e823d66c3b49f4aaced (diff) | |
download | poi-beb8010ded69cf3d5eec293d8b855cc40dec6e55.tar.gz poi-beb8010ded69cf3d5eec293d8b855cc40dec6e55.zip |
Removed an unused variable
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352087 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/poi/hssf/record/RecordFactory.java | 3 |
1 files changed, 0 insertions, 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 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 |