]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fix uninitialized value warning 567/head
authorPrzemyslaw Skibinski <inikep@gmail.com>
Fri, 24 Feb 2017 08:24:55 +0000 (09:24 +0100)
committerPrzemyslaw Skibinski <inikep@gmail.com>
Fri, 24 Feb 2017 08:24:55 +0000 (09:24 +0100)
tests/decodecorpus.c

index d75025a833e805f96435d59c2fc79a0ef2517fdb..8de5c252bd01fee2d0683a017aef74de29000944 100644 (file)
@@ -609,7 +609,7 @@ static U32 generateSequences(U32* seed, frame_t* frame, seqStore_t* seqStore,
 {
     /* The total length of all the matches */
     size_t const remainingMatch = contentSize - literalsSize;
-    size_t excessMatch;
+    size_t excessMatch = 0;
     U32 i;
 
     U32 numSequences;