1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-29 11:21:22 +03:00

changed fileInfo initialization, updated error code

This commit is contained in:
Paul Cruz
2017-06-20 09:35:21 -07:00
parent 55b9b28dad
commit cb2dbe6434
2 changed files with 8 additions and 14 deletions

View File

@ -688,8 +688,8 @@ int main(int argCount, const char* argv[])
{
int error = 0;
unsigned u;
for(u=0; u<filenameIdx;u++){
error = FIO_listFile(filenameTable[u],g_displayLevel);
for (u=0; u<filenameIdx;u++) {
error |= FIO_listFile(filenameTable[u], g_displayLevel);
}
CLEAN_RETURN(error);
}