Merge pull request #76 from lisyarus/fix_zlib_macro_bug

Fix build in case zlib not found
This commit is contained in:
Igor Canadi 2014-02-06 13:05:03 -08:00
commit 4564b2e8f9

View File

@ -396,7 +396,6 @@ inline char* BZip2_Uncompress(const char* input_data, size_t input_length,
_stream.next_out = (char *)(output + old_sz);
_stream.avail_out = output_len - old_sz;
break;
case Z_BUF_ERROR:
default:
delete[] output;
BZ2_bzDecompressEnd(&_stream);