| 71 | }; |
| 72 | |
| 73 | const char* ZipWriter::ErrorCodeString(int32_t error_code) { |
| 74 | if (error_code < 0 && (-error_code) < static_cast<int32_t>(arraysize(sErrorCodes))) { |
| 75 | return sErrorCodes[-error_code]; |
| 76 | } |
| 77 | return nullptr; |
| 78 | } |
| 79 | |
| 80 | static void DeleteZStream(z_stream* stream) { |
| 81 | deflateEnd(stream); |
nothing calls this directly
no outgoing calls
no test coverage detected