diff options
author | Yann Collet <cyan@fb.com> | 2018-04-13 09:45:32 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2018-04-13 09:45:32 (GMT) |
commit | d2bcfa31f525aaa11c2d248af0ba487791399c1f (patch) | |
tree | 73e59cbda3fd7047c7844795165ca5ef30dc56db /lib | |
parent | c40bac31d3886c2f69d0364823b6d6aaa972ee5b (diff) | |
download | lz4-d2bcfa31f525aaa11c2d248af0ba487791399c1f.zip lz4-d2bcfa31f525aaa11c2d248af0ba487791399c1f.tar.gz lz4-d2bcfa31f525aaa11c2d248af0ba487791399c1f.tar.bz2 |
fixed minor unused variable warning
Diffstat (limited to 'lib')
-rw-r--r-- | lib/lz4.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -1408,10 +1408,7 @@ int LZ4_compress_forceExtDict (LZ4_stream_t* LZ4_dict, const char* source, char* { LZ4_stream_t_internal* streamPtr = &LZ4_dict->internal_donotuse; int result; - const BYTE* const dictEnd = streamPtr->dictionary + streamPtr->dictSize; - const BYTE* smallest = dictEnd; - if (smallest > (const BYTE*) source) smallest = (const BYTE*) source; LZ4_renormDictT(streamPtr, srcSize); if ((streamPtr->dictSize < 64 KB) && (streamPtr->dictSize < streamPtr->currentOffset)) { |