diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/comp/gzip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/comp/gzip.c b/lib/comp/gzip.c index 732245f..379a231 100644 --- a/lib/comp/gzip.c +++ b/lib/comp/gzip.c @@ -304,10 +304,10 @@ fail_value: compressor_t *create_gzip_compressor(bool compress, size_t block_size, char *options) { - gzip_compressor_t *gzip = calloc(1, sizeof(*gzip)); - compressor_t *base = (compressor_t *)gzip; int window = GZIP_DEFAULT_WINDOW; int level = GZIP_DEFAULT_LEVEL; + gzip_compressor_t *gzip; + compressor_t *base; int flags = 0; int ret; |