From cf67e972908fb9b6f19ee085971e94ba23e8e76f Mon Sep 17 00:00:00 2001 From: Alex Szpakowski Date: Fri, 1 Jan 2021 16:41:39 -0400 Subject: [PATCH] Fix another windows compile error --- src/modules/filesystem/Filesystem.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/modules/filesystem/Filesystem.cpp b/src/modules/filesystem/Filesystem.cpp index 116dab199..391bf732c 100644 --- a/src/modules/filesystem/Filesystem.cpp +++ b/src/modules/filesystem/Filesystem.cpp @@ -91,8 +91,6 @@ bool Filesystem::getRealPathType(const std::string &path, FileType &ftype) const ftype = FILETYPE_FILE; else if ((buf.st_mode & _S_IFDIR) == _S_IFDIR) ftype = FILETYPE_DIRECTORY; - else if ((buf.st_mode & _S_IFLNK) == _S_IFLNK) - ftype = FILETYPE_SYMLINK; else ftype = FILETYPE_OTHER; #else