diff --git a/tests/decodecorpus.c b/tests/decodecorpus.c index 1423ca1a2..347bc1b50 100644 --- a/tests/decodecorpus.c +++ b/tests/decodecorpus.c @@ -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;