changed scope to get rid of mixed code/variables warning

This commit is contained in:
Paul Cruz
2017-06-19 16:27:05 -07:00
parent 7ea025cc7d
commit f4f928595b
+2
View File
@@ -1188,6 +1188,7 @@ static int genRandomDict(U32 dictID, U32 seed, size_t dictSize, BYTE* fullDict){
} }
/* generate samples */ /* generate samples */
{
unsigned i = 1; unsigned i = 1;
size_t currSize = 1; size_t currSize = 1;
BYTE* curr = samples; BYTE* curr = samples;
@@ -1199,6 +1200,7 @@ static int genRandomDict(U32 dictID, U32 seed, size_t dictSize, BYTE* fullDict){
i++; i++;
currSize *= 16; currSize *= 16;
} }
}
/* set dictionary params */ /* set dictionary params */
ZDICT_params_t zdictParams; ZDICT_params_t zdictParams;