Removed an unused variable

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352087 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Glen Stampoultzis 2002-02-11 09:00:19 +00:00
parent b08d62388c
commit 9a8df1731f

View File

@ -133,7 +133,6 @@ public class RecordFactory
{ {
ArrayList records = new ArrayList(NUM_RECORDS); ArrayList records = new ArrayList(NUM_RECORDS);
Record last_record = null; Record last_record = null;
int loc = 0;
try try
{ {
@ -143,14 +142,12 @@ public class RecordFactory
do do
{ {
rectype = LittleEndian.readShort(in); rectype = LittleEndian.readShort(in);
loc += 2;
if (rectype != 0) if (rectype != 0)
{ {
short recsize = LittleEndian.readShort(in); short recsize = LittleEndian.readShort(in);
byte[] data = new byte[ ( int ) recsize ]; byte[] data = new byte[ ( int ) recsize ];
in.read(data); in.read(data);
loc += recsize;
offset += 4 + recsize; offset += 4 + recsize;
Record[] recs = createRecord(rectype, recsize, Record[] recs = createRecord(rectype, recsize,
data); // handle MulRK records data); // handle MulRK records