Remove useless check

This commit is contained in:
Dmitry-Me 2015-09-09 18:45:22 +03:00
parent 47f64df8aa
commit 41c38eb1fc
1 changed files with 1 additions and 3 deletions

View File

@ -139,9 +139,7 @@ void FileLister::recursiveAddFiles(std::map<std::string, std::size_t> &files, co
}
} while (FindNextFileA(hFind, &ffd) != FALSE);
if (INVALID_HANDLE_VALUE != hFind) {
FindClose(hFind);
}
FindClose(hFind);
}
bool FileLister::isDirectory(const std::string &path)