mirror of
https://github.com/facebook/zstd.git
synced 2025-08-05 19:15:58 +03:00
Removed the optimization check
This commit is contained in:
@@ -329,8 +329,6 @@ int UTIL_prepareFileList(const char *dirName, char** bufStart, size_t* pos, char
|
|||||||
int UTIL_isCompressedFile(const char *inputName, const char *extensionList[])
|
int UTIL_isCompressedFile(const char *inputName, const char *extensionList[])
|
||||||
{
|
{
|
||||||
const char* ext = UTIL_getFileExtension(inputName);
|
const char* ext = UTIL_getFileExtension(inputName);
|
||||||
if(strcmp(ext,""))
|
|
||||||
{
|
|
||||||
while(*extensionList!=NULL)
|
while(*extensionList!=NULL)
|
||||||
{
|
{
|
||||||
const int isCompressedExtension = strcmp(ext,*extensionList);
|
const int isCompressedExtension = strcmp(ext,*extensionList);
|
||||||
@@ -338,7 +336,6 @@ int UTIL_isCompressedFile(const char *inputName, const char *extensionList[])
|
|||||||
return 1;
|
return 1;
|
||||||
++extensionList;
|
++extensionList;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user