Skip to content

Commit

Permalink
Silence expected warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
levlam committed Apr 29, 2021
1 parent e1fc85d commit f00d562
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tdutils/td/utils/port/path.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit f00d562

Please sign in to comment.