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,
|
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);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user