Fixing compiler warnings: Fixed broken Linux build.

This commit is contained in:
Vojtech Bubnik 2021-02-09 20:06:08 +01:00
parent f61119e02f
commit a5972e64fa

View file

@ -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<DriveData> &out)
{
glob_t globbuf;
@ -218,7 +218,7 @@ namespace search_for_drives_internal
}
globfree(&globbuf);
}
#endif
#endif // ! __APPLE__
}
std::vector<DriveData> RemovableDriveManager::search_for_removable_drives() const