updated Makefile.common
[org.ibex.core.git] / src / org / ibex / util / CAB.java
index 96e0947..a8d7e0b 100644 (file)
@@ -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];