Commit 545e7d2d authored by gabime's avatar gabime

Fixed clang warning

parent a9ed6b35
......@@ -108,7 +108,7 @@ std::size_t count_files(const std::string &folder)
}
struct dirent *ep;
while (ep = readdir(dp))
while ((ep = readdir(dp)) != nullptr)
{
if (ep->d_name[0] != '.')
counter++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment