Further Avoid a dictionary==NULL Check

This commit is contained in:
W. Felix Handte 2018-03-08 12:29:45 -05:00
parent 64bcbf400e
commit b4335a6585

View File

@ -708,7 +708,7 @@ _next_match:
/* Encode MatchLength */ /* Encode MatchLength */
{ unsigned matchCode; { unsigned matchCode;
if ((dictDirective==usingExtDict || dictDirective==usingExtDictCtx) && ((lowLimit==dictLowLimit) & (dictionary != NULL))) { if ((dictDirective==usingExtDict || dictDirective==usingExtDictCtx) && lowLimit==dictionary) {
const BYTE* limit; const BYTE* limit;
match += refDelta; match += refDelta;
limit = ip + (dictEnd-match); limit = ip + (dictEnd-match);