Fixing compiler warnings: Fixed broken Linux build.
This commit is contained in:
parent
f61119e02f
commit
a5972e64fa
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
static void search_path(const std::string &path, const std::string &parent_path, std::vector<DriveData> &out)
|
||||||
{
|
{
|
||||||
glob_t globbuf;
|
glob_t globbuf;
|
||||||
|
@ -218,7 +218,7 @@ namespace search_for_drives_internal
|
||||||
}
|
}
|
||||||
globfree(&globbuf);
|
globfree(&globbuf);
|
||||||
}
|
}
|
||||||
#endif
|
#endif // ! __APPLE__
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<DriveData> RemovableDriveManager::search_for_removable_drives() const
|
std::vector<DriveData> RemovableDriveManager::search_for_removable_drives() const
|
||||||
|
|
Loading…
Reference in a new issue