mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
Fixed clang warning
This commit is contained in:
parent
a9ed6b352b
commit
545e7d2de8
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user