Merge pull request #678 from Dmitry-Me/removeUselessCheck

Remove useless check
This commit is contained in:
orbitcowboy 2015-09-09 18:33:23 +02:00
commit c19c7acb2f
1 changed files with 1 additions and 3 deletions

View File

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