mirror of
https://github.com/facebook/zstd.git
synced 2025-11-29 00:04:37 -05:00
zstdcli : fixing mixed declarations and code error
This commit is contained in:
parent
43d463eccb
commit
2841c79e87
@ -1236,6 +1236,9 @@ static int FIO_compressFilename_dstFile(FIO_prefs_t* const prefs,
|
||||
const char* srcFileName,
|
||||
int compressionLevel)
|
||||
{
|
||||
UTIL_time_t timeStart;
|
||||
clock_t cpuStart;
|
||||
|
||||
int closeDstFile = 0;
|
||||
int result;
|
||||
stat_t statbuf;
|
||||
@ -1259,8 +1262,8 @@ static int FIO_compressFilename_dstFile(FIO_prefs_t* const prefs,
|
||||
transfer_permissions = 1;
|
||||
}
|
||||
|
||||
UTIL_time_t const timeStart = UTIL_getTime();
|
||||
clock_t const cpuStart = clock();
|
||||
timeStart = UTIL_getTime();
|
||||
cpuStart = clock();
|
||||
|
||||
result = FIO_compressFilename_internal(prefs, ress, dstFileName, srcFileName, compressionLevel);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user