loplugin:nullptr

Change-Id: I5f0dc970e8522b63570faa0ba05ab19dd0f45d5a
This commit is contained in:
Pranav Kant
2017-12-20 22:25:04 +05:30
parent f63858433b
commit 9cbef14160
4 changed files with 7 additions and 7 deletions

View File

@ -331,7 +331,7 @@ void FileServerRequestHandler::readDirToHash(const std::string &basePath, const
LOG_TRC("Pre-reading directory: " << basePath << path << "\n");
workingdir = opendir((basePath + path).c_str());
while ((currentFile = readdir(workingdir)) != NULL)
while ((currentFile = readdir(workingdir)) != nullptr)
{
if (currentFile->d_name[0] == '.')
continue;