1
0
mirror of https://github.com/facebook/zstd.git synced 2025-04-19 00:44:19 +03:00

minor: restore some code comment

This commit is contained in:
Yann Collet 2025-03-24 21:31:51 -07:00
parent 76c2fdc7b7
commit 94cfa0b5a0

View File

@ -537,6 +537,10 @@ static int FIO_removeFile(const char* path)
return remove(path); return remove(path);
} }
/** FIO_openSrcFile() :
* condition : `srcFileName` must be non-NULL.
* optional: `prefs` may be NULL.
* @result : FILE* to `srcFileName`, or NULL if it fails */
static FILE* FIO_openSrcFile(const FIO_prefs_t* const prefs, const char* srcFileName, stat_t* statbuf) static FILE* FIO_openSrcFile(const FIO_prefs_t* const prefs, const char* srcFileName, stat_t* statbuf)
{ {
int allowBlockDevices = prefs != NULL ? prefs->allowBlockDevices : 0; int allowBlockDevices = prefs != NULL ? prefs->allowBlockDevices : 0;