]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
removed comment regarding windowSize requirement
authorPaul Cruz <paulcruz74@fb.com>
Thu, 22 Jun 2017 01:13:52 +0000 (18:13 -0700)
committerPaul Cruz <paulcruz74@fb.com>
Thu, 22 Jun 2017 01:13:52 +0000 (18:13 -0700)
tests/decodecorpus.c

index e2b0986722179dfef8d111ad21a1cd2de983b0ae..64185a13b4f269d1a56d4b611b2f7c1b3ee218c2 100644 (file)
@@ -683,7 +683,6 @@ static U32 generateSequences(U32* seed, frame_t* frame, seqStore_t* seqStore,
                          1;
                 if (info.useDict && (RAND(seed) & 1)) {
                     /* need to occasionally generate offsets that go past the start */
-                    /* we still need to be within the windowSize however */
                     U32 const lenPastStart = RAND(seed) % info.dictContentSize;
                     offset = offset+lenPastStart;
                 }