]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
added const x2
authorPaul Cruz <paulcruz74@fb.com>
Thu, 22 Jun 2017 00:48:37 +0000 (17:48 -0700)
committerPaul Cruz <paulcruz74@fb.com>
Thu, 22 Jun 2017 00:48:37 +0000 (17:48 -0700)
tests/decodecorpus.c

index 1423ca1a2203aa8cc19c9b92512545efe87fae48..347bc1b501f3921ceed765b03f48bfc2c7891633 100644 (file)
@@ -1499,7 +1499,7 @@ static int generateCorpusWithDict(U32 seed, unsigned numFiles, const char* const
 
     /* randomly generate the dictionary */
     {
-        int ret = genRandomDict(dictID, seed, dictSize, fullDict);
+        int const ret = genRandomDict(dictID, seed, dictSize, fullDict);
         if (ret != 0) {
             errorDetected = ret;
             goto dictCleanup;