From f00d562c5b5da767fea764f0e8a699cde7ca096a Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 30 Apr 2021 01:26:02 +0300 Subject: [PATCH] Silence expected warning. --- tdutils/td/utils/port/path.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tdutils/td/utils/port/path.cpp b/tdutils/td/utils/port/path.cpp index 865467641..c61835e14 100644 --- a/tdutils/td/utils/port/path.cpp +++ b/tdutils/td/utils/port/path.cpp @@ -294,7 +294,9 @@ Result 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()) {