From 86367c82c256b2dc56c27bf629b7bfa6bf797e79 Mon Sep 17 00:00:00 2001 From: zvon Date: Wed, 23 Jan 2019 18:18:07 +0100 Subject: [PATCH] Removed useless variable --- tv_rename.cpp | 3 --- 1 file changed, 3 deletions(-) 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; } }