Fixed multiple clang-tidy warnings

This commit is contained in:
gabime
2020-04-08 18:17:21 +03:00
parent c16eb80d7f
commit b2017f5653
12 changed files with 68 additions and 68 deletions

View File

@@ -113,7 +113,7 @@ std::size_t count_files(const std::string &folder)
throw std::runtime_error("Failed open folder " + folder);
}
struct dirent *ep;
struct dirent *ep = nullptr;
while ((ep = readdir(dp)) != nullptr)
{
if (ep->d_name[0] != '.')