diff --git a/src/lib.rs b/src/lib.rs index c766a9e..6aca77c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -396,7 +396,7 @@ impl Movies { } } - for (parent, mut movies) in movie_counter.into_iter() { + for (_parent, mut movies) in movie_counter.into_iter() { if movies.len() > 1 { // Sort, lowest bit_rate movie first movies.sort_by(|a, b| a.min_bit_rate().cmp(&b.min_bit_rate())); @@ -405,14 +405,6 @@ impl Movies { // Take the largest image, return the rest for removal. let tuple = (movies.remove(0), movies); dupes.push(tuple); - } else { - /* - let dateless_parent = if date_re.is_match(&parent) { - parent[..parent.len() - 7].to_string() - } else { - parent.to_string() - }; - */ } } // Sort to make this function deterministic.