X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Futil%2FCAB.java;h=a8d7e0b15b330dab6a7e0d9f1790a749c3b5a7c1;hp=96e09476f98fac47455d17a1cb694f7fd41f749c;hb=3f8aa5300e178e8975b0edc896a5a9d303e7bdf3;hpb=3591b88b94a6bb378af3d4abe6eb5233ce583104 diff --git a/src/org/ibex/util/CAB.java b/src/org/ibex/util/CAB.java index 96e0947..a8d7e0b 100644 --- a/src/org/ibex/util/CAB.java +++ b/src/org/ibex/util/CAB.java @@ -51,7 +51,6 @@ public class CAB { CFFILE file = (CFFILE)h.folders[i].files.elementAt(j); if (file.fileName.equals(fileName)) return new LimitStream(is2, file.fileSize); byte[] b = new byte[file.fileSize]; - int read = is2.read(b); } } @@ -107,8 +106,6 @@ public class CAB { int readCFFOLDERs = 0; // the number of folders read in so far int readCFFILEs = 0; // the number of folders read in so far - public CFHEADER() { } - public void print(PrintStream ps) { ps.println("CAB CFFILE CFHEADER v" + ((int)versionMajor) + "." + ((int)versionMinor)); ps.println(" total file size = " + fileSize); @@ -384,7 +381,6 @@ public class CAB { } InputStream readBlock() throws IOException { - int checksum = readLittleInt(dis); int compressedBytes = readLittleShort(dis); int unCompressedBytes = readLittleShort(dis); byte[] reserved = new byte[/*folder.header.perDatablockReservedSize*/0];