small stylistic changes
This commit is contained in:
parent
34f4e5cab2
commit
73ebb646d8
@ -1333,8 +1333,7 @@ static int generateCorpusWithDict(U32 seed, unsigned numFiles, const char* const
|
|||||||
{
|
{
|
||||||
char outPath[MAX_PATH];
|
char outPath[MAX_PATH];
|
||||||
BYTE* fullDict;
|
BYTE* fullDict;
|
||||||
U32 dictID;
|
U32 const dictID = RAND(&seed);
|
||||||
unsigned fnum;
|
|
||||||
BYTE* decompressedPtr;
|
BYTE* decompressedPtr;
|
||||||
BYTE* dictContent;
|
BYTE* dictContent;
|
||||||
const size_t headerSize = dictSize/4;
|
const size_t headerSize = dictSize/4;
|
||||||
@ -1352,7 +1351,6 @@ static int generateCorpusWithDict(U32 seed, unsigned numFiles, const char* const
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* Generate the dictionary randomly first */
|
/* Generate the dictionary randomly first */
|
||||||
dictID = RAND(&seed);
|
|
||||||
fullDict = malloc(dictSize);
|
fullDict = malloc(dictSize);
|
||||||
if (fullDict == NULL) {
|
if (fullDict == NULL) {
|
||||||
DISPLAY("Error: could not allocate space for full dictionary.\n");
|
DISPLAY("Error: could not allocate space for full dictionary.\n");
|
||||||
@ -1421,7 +1419,7 @@ static int generateCorpusWithDict(U32 seed, unsigned numFiles, const char* const
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* generate random compressed/decompressed files */
|
/* generate random compressed/decompressed files */
|
||||||
for (fnum = 0; fnum < numFiles; fnum++) {
|
for (unsigned fnum = 0; fnum < numFiles; fnum++) {
|
||||||
frame_t fr;
|
frame_t fr;
|
||||||
size_t returnValue;
|
size_t returnValue;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user