From a5972e64fac8a081c8b9387acf0c17fd23945568 Mon Sep 17 00:00:00 2001 From: Vojtech Bubnik Date: Tue, 9 Feb 2021 20:06:08 +0100 Subject: [PATCH] Fixing compiler warnings: Fixed broken Linux build. --- src/slic3r/GUI/RemovableDriveManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/RemovableDriveManager.cpp b/src/slic3r/GUI/RemovableDriveManager.cpp index 74dc76415..a1247f3a0 100644 --- a/src/slic3r/GUI/RemovableDriveManager.cpp +++ b/src/slic3r/GUI/RemovableDriveManager.cpp @@ -203,7 +203,7 @@ namespace search_for_drives_internal } } -#if 0 +#if ! __APPLE__ static void search_path(const std::string &path, const std::string &parent_path, std::vector &out) { glob_t globbuf; @@ -218,7 +218,7 @@ namespace search_for_drives_internal } globfree(&globbuf); } -#endif +#endif // ! __APPLE__ } std::vector RemovableDriveManager::search_for_removable_drives() const