Removed useless variable
This commit is contained in:
parent
c5328f4057
commit
86367c82c2
@ -61,9 +61,7 @@ void singleSeason( const std::string &path, const std::string &show, int season,
|
|||||||
|
|
||||||
std::set<std::string> found_files;
|
std::set<std::string> found_files;
|
||||||
std::set<std::string> renamed_files;
|
std::set<std::string> renamed_files;
|
||||||
std::vector<std::string> renamed_episodes;
|
|
||||||
|
|
||||||
renamed_episodes.resize(episodes.size());
|
|
||||||
if( files == nullptr ) {
|
if( files == nullptr ) {
|
||||||
findSeason(found_files, season, path);
|
findSeason(found_files, season, path);
|
||||||
files = &found_files;
|
files = &found_files;
|
||||||
@ -116,7 +114,6 @@ void singleSeason( const std::string &path, const std::string &show, int season,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
renamed_files.insert(dir + "/" + name);
|
renamed_files.insert(dir + "/" + name);
|
||||||
renamed_episodes[num] = name;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user