Skip to content

Commit

Permalink
stored: CompressionContext
Browse files Browse the repository at this point in the history
  • Loading branch information
franku committed Nov 5, 2019
1 parent 2651f60 commit e4db299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/stored/bextract.cc
Expand Up @@ -425,8 +425,8 @@ static void DoExtract(char* devname)
jcr->buf_size = DEFAULT_NETWORK_BUFFER_SIZE;
SetupDecompressionBuffers(jcr, &decompress_buf_size);

static const CompressionContext emptyCompressionContext{};
if (decompress_buf_size > 0) {
CompressionContext emptyCompressionContext;
jcr->compress = emptyCompressionContext;
jcr->compress.inflate_buffer = GetMemory(decompress_buf_size);
jcr->compress.inflate_buffer_size = decompress_buf_size;
Expand Down

0 comments on commit e4db299

Please sign in to comment.