Optimize Dict Check Condition

This commit is contained in:
W. Felix Handte 2018-03-06 15:53:22 -05:00
parent b78cf67c96
commit 64bcbf400e

View File

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