Skip to content

Commit

Permalink
Fix compile error when LZ4 is up to r123 (facebook#6412)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: facebook#6412

Differential Revision: D19914063

Pulled By: ajkr

fbshipit-source-id: 4e401e665d4b449d24c4cdec35a4585eeda95996
  • Loading branch information
acelyc111 authored and facebook-github-bot committed Feb 14, 2020
1 parent dc23c12 commit 3a34575
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions util/compression.h
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,6 @@ inline bool LZ4_Compress(const CompressionInfo& info,
#else // up to r123
outlen = LZ4_compress_limitedOutput(input, &(*output)[output_header_len],
static_cast<int>(length), compress_bound);
(void)ctx;
#endif // LZ4_VERSION_NUMBER >= 10400

if (outlen == 0) {
Expand Down Expand Up @@ -1115,7 +1114,6 @@ inline CacheAllocationPtr LZ4_Uncompress(const UncompressionInfo& info,
*decompress_size = LZ4_decompress_safe(input_data, output.get(),
static_cast<int>(input_length),
static_cast<int>(output_len));
(void)ctx;
#endif // LZ4_VERSION_NUMBER >= 10400

if (*decompress_size < 0) {
Expand Down

0 comments on commit 3a34575

Please sign in to comment.