This commit is contained in:
Shane Hansen 2019-03-29 15:15:07 -07:00
parent 94370e0b46
commit f6e5ca9707
1 changed files with 2 additions and 2 deletions

View File

@ -57,8 +57,8 @@ func createBackwardReferences(num_bytes uint, position uint, ringbuffer []byte,
/* Minimum score to accept a backward reference. */
hasher.PrepareDistanceCache(dist_cache)
var sr2 hasherSearchResult
var sr hasherSearchResult
var sr2 hasherSearchResult
var sr hasherSearchResult
for position+hasher.HashTypeLength() < pos_end {
var max_length uint = pos_end - position