astyle formatting

[ci skip]
This commit is contained in:
Daniel Marjamäki 2019-01-09 19:47:46 +01:00
parent 1dc5ff022e
commit 5051744304
1 changed files with 4 additions and 4 deletions

View File

@ -202,12 +202,12 @@ static void addFiles2(std::map<std::string, std::size_t> &files,
new_path = path + '/' + dir_result->d_name;
#if defined(_DIRENT_HAVE_D_TYPE) || defined(_BSD_SOURCE)
bool path_is_directory = (dir_result->d_type == DT_DIR || (dir_result->d_type == DT_UNKNOWN && FileLister::isDirectory(new_path)));
#if defined(_DIRENT_HAVE_D_TYPE) || defined(_BSD_SOURCE)
bool path_is_directory = (dir_result->d_type == DT_DIR || (dir_result->d_type == DT_UNKNOWN && FileLister::isDirectory(new_path)));
#else
bool path_is_directory = FileLister::isDirectory(new_path);
bool path_is_directory = FileLister::isDirectory(new_path);
#endif
if (path_is_directory) {
if (path_is_directory) {
if (recursive && !ignored.match(new_path)) {
addFiles2(files, new_path, extra, recursive, ignored);
}