]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fix extraneous semicolon ';'
authorYann Collet <cyan@fb.com>
Mon, 26 Feb 2024 20:26:54 +0000 (12:26 -0800)
committerYann Collet <cyan@fb.com>
Mon, 26 Feb 2024 20:26:54 +0000 (12:26 -0800)
as reported by @terrelln

lib/compress/zstd_compress_superblock.c

index 5d0d23353cc9dd3743f67d32844c0c11f70ed248..32bea370f36ca24564d5321ff6db53bdb6bb49c7 100644 (file)
@@ -449,7 +449,7 @@ static size_t sizeBlockSequences(const seqDef* sp, size_t nbSeqs,
         budget += 120 * BYTESCALE; /* generous estimate */
     }
     /* first sequence => at least one sequence*/
-    budget += sp[0].litLength * avgLitCost + avgSeqCost;;
+    budget += sp[0].litLength * avgLitCost + avgSeqCost;
     if (budget > targetBudget) return 1;
 
     /* loop over sequences */