diff --git a/tv_rename.cpp b/tv_rename.cpp index ed64f41..031a741 100644 --- a/tv_rename.cpp +++ b/tv_rename.cpp @@ -61,9 +61,7 @@ void singleSeason( const std::string &path, const std::string &show, int season, std::set found_files; std::set renamed_files; - std::vector 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; } }