scope change

This commit is contained in:
Paul Cruz 2017-06-19 16:32:38 -07:00
parent 365e265a8e
commit 791352ad0e

View File

@ -1476,12 +1476,14 @@ static int generateCorpusWithDict(U32 seed, unsigned numFiles, const char* const
errorDetected = 1; errorDetected = 1;
goto dictCleanup; goto dictCleanup;
} }
{
size_t const returnValue = ZSTD_decompress_usingDict(dctx, decompressedPtr, MAX_DECOMPRESSED_SIZE, size_t const returnValue = ZSTD_decompress_usingDict(dctx, decompressedPtr, MAX_DECOMPRESSED_SIZE,
fr.dataStart, (BYTE*)fr.data - (BYTE*)fr.dataStart, fr.dataStart, (BYTE*)fr.data - (BYTE*)fr.dataStart,
fullDict, dictSize); fullDict, dictSize);
if (ZSTD_isError(returnValue)) { if (ZSTD_isError(returnValue)) {
DISPLAY("Error: %s\n", ZSTD_getErrorName(returnValue)); DISPLAY("Error: %s\n", ZSTD_getErrorName(returnValue));
} }
}
/* print differences if any */ /* print differences if any */
{ {