added missing "case 3:" in ZSTD_BtGetAllMatches

This commit is contained in:
inikep 2016-03-06 23:21:52 +01:00
parent 01060bc477
commit 89c9e1a847
2 changed files with 3 additions and 1 deletions

View File

@ -105,7 +105,7 @@ static const size_t ZSTD_frameHeaderSize_min = 5;
#define OffFSELog 9
#define MaxSeq MAX(MaxLL, MaxML)
#define LONGNBSEQ 0xFF00
#define LONGNBSEQ 0x7F00
#define FSE_ENCODING_RAW 0
#define FSE_ENCODING_RLE 1

View File

@ -342,6 +342,7 @@ static U32 ZSTD_BtGetAllMatches_selectMLS (
switch(matchLengthSearch)
{
default :
case 3 : return ZSTD_BtGetAllMatches(zc, ip, iHighLimit, maxNbAttempts, 3, matches);
case 4 : return ZSTD_BtGetAllMatches(zc, ip, iHighLimit, maxNbAttempts, 4, matches);
case 5 : return ZSTD_BtGetAllMatches(zc, ip, iHighLimit, maxNbAttempts, 5, matches);
case 6 : return ZSTD_BtGetAllMatches(zc, ip, iHighLimit, maxNbAttempts, 6, matches);
@ -369,6 +370,7 @@ static U32 ZSTD_BtGetAllMatches_selectMLS_extDict (
switch(matchLengthSearch)
{
default :
case 3 : return ZSTD_BtGetAllMatches_extDict(zc, ip, iHighLimit, maxNbAttempts, 3, matches);
case 4 : return ZSTD_BtGetAllMatches_extDict(zc, ip, iHighLimit, maxNbAttempts, 4, matches);
case 5 : return ZSTD_BtGetAllMatches_extDict(zc, ip, iHighLimit, maxNbAttempts, 5, matches);
case 6 : return ZSTD_BtGetAllMatches_extDict(zc, ip, iHighLimit, maxNbAttempts, 6, matches);