mirror of
https://github.com/LibreOffice/online.git
synced 2025-08-15 21:13:02 +00:00
loplugin:nullptr
Change-Id: I5f0dc970e8522b63570faa0ba05ab19dd0f45d5a
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user