Fix warnings
This commit is contained in:
parent
ced53e2920
commit
c8255092d7
|
@ -45,8 +45,9 @@ FileSearchWithTest(const std::vector<std::string>& directories, bool recursive,
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<std::string> DoFileSearchNoSTL(const std::vector<std::string>& directories,
|
static std::vector<std::string> DoFileSearchNoSTL(const std::vector<std::string>& directories,
|
||||||
const std::vector<std::string>& exts, bool recursive)
|
const std::vector<std::string>& exts,
|
||||||
|
bool recursive)
|
||||||
{
|
{
|
||||||
bool accept_all = exts.empty();
|
bool accept_all = exts.empty();
|
||||||
return FileSearchWithTest(directories, recursive, [&](const File::FSTEntry& entry) {
|
return FileSearchWithTest(directories, recursive, [&](const File::FSTEntry& entry) {
|
||||||
|
|
|
@ -399,9 +399,9 @@ void FilesystemPanel::ExtractSingleDirectory(const wxString& output_folder)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ExtractDir(const std::string& full_path, const std::string& output_folder,
|
static void ExtractDir(const std::string& full_path, const std::string& output_folder,
|
||||||
const DiscIO::FileSystem& file_system, const DiscIO::FileInfo& directory,
|
const DiscIO::FileSystem& file_system, const DiscIO::FileInfo& directory,
|
||||||
const std::function<bool(const std::string& path)>& update_progress)
|
const std::function<bool(const std::string& path)>& update_progress)
|
||||||
{
|
{
|
||||||
for (const DiscIO::FileInfo& file_info : directory)
|
for (const DiscIO::FileInfo& file_info : directory)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue