scope change

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

View File

@ -1476,11 +1476,13 @@ 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, {
fr.dataStart, (BYTE*)fr.data - (BYTE*)fr.dataStart, size_t const returnValue = ZSTD_decompress_usingDict(dctx, decompressedPtr, MAX_DECOMPRESSED_SIZE,
fullDict, dictSize); fr.dataStart, (BYTE*)fr.data - (BYTE*)fr.dataStart,
if (ZSTD_isError(returnValue)) { fullDict, dictSize);
DISPLAY("Error: %s\n", ZSTD_getErrorName(returnValue)); if (ZSTD_isError(returnValue)) {
DISPLAY("Error: %s\n", ZSTD_getErrorName(returnValue));
}
} }
/* print differences if any */ /* print differences if any */