| 49 | } |
| 50 | |
| 51 | ZipFile::~ZipFile() { |
| 52 | if (state == Inflate) |
| 53 | inflateEnd(&z); |
| 54 | if (state == Deflate) |
| 55 | deflateEnd(&z); |
| 56 | } |
| 57 | |
| 58 | void ZipFile::Read(void *data, size_t size) { |
| 59 | if (state == Deflate) { |
nothing calls this directly
no outgoing calls
no test coverage detected