Removed old code

This commit is contained in:
Ray San 2018-04-03 12:42:28 +02:00
parent 0c0ff2802e
commit fe1c04d1b8

View file

@ -1308,11 +1308,6 @@ bool IsFileExtension(const char *fileName, const char *ext)
bool result = false; bool result = false;
const char *fileExt; const char *fileExt;
if ((fileExt = strrchr(fileName, '.')) != NULL)
{
if (strcmp(fileExt, ext) == 0) result = true;
}
if ((fileExt = strrchr(fileName, '.')) != NULL) if ((fileExt = strrchr(fileName, '.')) != NULL)
{ {
#if defined(_WIN32) #if defined(_WIN32)