 
                 try decoder.decode()
                 decodedData = Data(bytes: decoder.out)
-            } else {
+            default:
                 if coder.id[0] == 0x06 {
                     throw SevenZipError.encryptionNotSupported
                 } else {


                try decoder.decode()
                decodedData = Data(bytes: decoder.out)
            } else if coder.id == SevenZipCoder.ID.lzma {
                // Both properties' byte (lp, lc, pb) and dictionary size are stored in coder's properties.
                guard let properties = coder.properties
                    else { throw LZMAError.wrongProperties }


            let unpackSize = self.unpackSize(for: coder)

            switch coder.compressionMethod {
            case .copy:
                continue
            case .deflate:
                #if (!SWCOMPRESSION_POD_SEVENZIP) || (SWCOMPRESSION_POD_SEVENZIP && SWCOMPRESSION_POD_DEFLATE)
                    decodedData = try Deflate.decompress(data: decodedData)
                #else
                    throw SevenZipError.compressionNotSupported
                #endif
            case .bzip2:
                #if (!SWCOMPRESSION_POD_SEVENZIP) || (SWCOMPRESSION_POD_SEVENZIP && SWCOMPRESSION_POD_BZ2)
                    decodedData = try BZip2.decompress(data: decodedData)
                #else
                    throw SevenZipError.compressionNotSupported
                #endif
            case .lzma2:
                // Dictionary size is stored in coder's properties.
                guard let properties = coder.properties
                    else { throw LZMA2Error.wrongProperties }
