better naming

and more narrow scope of local variables
This commit is contained in:
Yann Collet
2025-03-28 09:18:17 -07:00
parent 7630870b47
commit 76c2fdc7b7
4 changed files with 21 additions and 20 deletions
+1 -1
View File
@@ -1379,7 +1379,7 @@ int main(int argCount, const char* argv[])
size_t const nbFileLists = file_of_names->tableSize;
size_t flNb;
for (flNb=0; flNb < nbFileLists; flNb++) {
FileNamesTable* const fnt = UTIL_createFileNamesTable_fromFileName(file_of_names->fileNames[flNb]);
FileNamesTable* const fnt = UTIL_createFileNamesTable_fromFileList(file_of_names->fileNames[flNb]);
if (fnt==NULL) {
DISPLAYLEVEL(1, "zstd: error reading %s \n", file_of_names->fileNames[flNb]);
CLEAN_RETURN(1);