Silence expected warning.

This commit is contained in:
levlam 2021-04-30 01:26:02 +03:00
parent e1fc85d610
commit f00d562c5b

View File

@ -294,7 +294,9 @@ Result<bool> walk_path_subdir(string &path, DIR *dir, const WalkFunction &func)
status = walk_path_file(path, func);
}
#else
#if !TD_ILLUMOS
#warning "Slow walk_path"
#endif
status = walk_path(path, func);
#endif
if (status.is_error() || !status.ok()) {