Removed useless variable

This commit is contained in:
zvon 2019-01-23 18:18:07 +01:00
parent c5328f4057
commit 86367c82c2

View File

@ -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> renamed_files;
std::vector<std::string> renamed_episodes;
renamed_episodes.resize(episodes.size());
if( files == nullptr ) {
findSeason(found_files, season, path);
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_episodes[num] = name;
}
}