mirror of
https://github.com/facebook/zstd.git
synced 2025-03-06 16:56:49 +02:00
fixed wrong assert
This commit is contained in:
parent
8168a451e5
commit
e5af24c5fa
@ -1325,7 +1325,6 @@ _shortestPath: /* cur, last_pos, best_mlen, best_off have to be set */
|
||||
assert(opt[0].mlen == 0);
|
||||
assert(last_pos >= lastStretch.mlen);
|
||||
assert(cur == last_pos - lastStretch.mlen);
|
||||
assert(lastStretch.rep[0] != 0);
|
||||
|
||||
if (lastStretch.mlen==0) {
|
||||
/* no solution : all matches have been converted into literals */
|
||||
|
Loading…
x
Reference in New Issue
Block a user