assert externalRepSearch != ZSTD_ps_auto

This commit is contained in:
Elliot Gorokhovsky
2023-02-01 18:24:46 -08:00
parent 7f8189ca57
commit 3fe5f1fbb9
+1
View File
@@ -6335,6 +6335,7 @@ ZSTD_copySequencesToSeqStoreExplicitBlockDelim(ZSTD_CCtx* cctx,
}
/* If we skipped repcode search while parsing, we need to update repcodes now */
assert(externalRepSearch != ZSTD_ps_auto);
assert(idx >= startIdx);
if (externalRepSearch == ZSTD_ps_disable && idx != startIdx) {
U32* const rep = updatedRepcodes.rep;