zstdcli : fixing mixed declarations and code error

This commit is contained in:
Ephraim Park 2019-06-03 17:36:09 -07:00
parent 43d463eccb
commit 2841c79e87

View File

@ -1236,6 +1236,9 @@ static int FIO_compressFilename_dstFile(FIO_prefs_t* const prefs,
const char* srcFileName, const char* srcFileName,
int compressionLevel) int compressionLevel)
{ {
UTIL_time_t timeStart;
clock_t cpuStart;
int closeDstFile = 0; int closeDstFile = 0;
int result; int result;
stat_t statbuf; stat_t statbuf;
@ -1259,8 +1262,8 @@ static int FIO_compressFilename_dstFile(FIO_prefs_t* const prefs,
transfer_permissions = 1; transfer_permissions = 1;
} }
UTIL_time_t const timeStart = UTIL_getTime(); timeStart = UTIL_getTime();
clock_t const cpuStart = clock(); cpuStart = clock();
result = FIO_compressFilename_internal(prefs, ress, dstFileName, srcFileName, compressionLevel); result = FIO_compressFilename_internal(prefs, ress, dstFileName, srcFileName, compressionLevel);