for loop declaration not allowed

This commit is contained in:
Paul Cruz 2017-06-19 16:38:51 -07:00
parent 791352ad0e
commit 147ef05f12

View File

@ -1442,7 +1442,9 @@ static int generateCorpusWithDict(U32 seed, unsigned numFiles, const char* const
outputBuffer(fullDict, dictSize, outPath);
/* generate random compressed/decompressed files */
for (unsigned fnum = 0; fnum < numFiles; fnum++) {
{
unsigned fnum;
for (fnum = 0; fnum < numFiles; fnum++) {
frame_t fr;
DISPLAYUPDATE("\r%u/%u ", fnum, numFiles);
{
@ -1497,6 +1499,7 @@ static int generateCorpusWithDict(U32 seed, unsigned numFiles, const char* const
free(decompressedPtr);
}
}
}
dictCleanup:
free(fullDict);